Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(741)

Side by Side Diff: runtime/vm/bootstrap.cc

Issue 48133002: Remove deprecated dart:utf library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged to head. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/benchmark_test.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/bootstrap.h" 5 #include "vm/bootstrap.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 8
9 #include "vm/bootstrap_natives.h" 9 #include "vm/bootstrap_natives.h"
10 #include "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 Bootstrap::math_source_paths_, 59 Bootstrap::math_source_paths_,
60 Bootstrap::math_patch_paths_), 60 Bootstrap::math_patch_paths_),
61 INIT_LIBRARY(ObjectStore::kMirrors, 61 INIT_LIBRARY(ObjectStore::kMirrors,
62 mirrors, 62 mirrors,
63 Bootstrap::mirrors_source_paths_, 63 Bootstrap::mirrors_source_paths_,
64 Bootstrap::mirrors_patch_paths_), 64 Bootstrap::mirrors_patch_paths_),
65 INIT_LIBRARY(ObjectStore::kTypedData, 65 INIT_LIBRARY(ObjectStore::kTypedData,
66 typed_data, 66 typed_data,
67 Bootstrap::typed_data_source_paths_, 67 Bootstrap::typed_data_source_paths_,
68 Bootstrap::typed_data_patch_paths_), 68 Bootstrap::typed_data_patch_paths_),
69 INIT_LIBRARY(ObjectStore::kUtf,
70 utf,
71 Bootstrap::utf_source_paths_,
72 NULL),
73 69
74 { ObjectStore::kNone, NULL, NULL, NULL, NULL } 70 { ObjectStore::kNone, NULL, NULL, NULL, NULL }
75 }; 71 };
76 72
77 73
78 static RawString* GetLibrarySource(const Library& lib, 74 static RawString* GetLibrarySource(const Library& lib,
79 const String& uri, 75 const String& uri,
80 bool patch) { 76 bool patch) {
81 // First check if this is a valid boot strap library and find it's index 77 // First check if this is a valid boot strap library and find it's index
82 // in the 'bootstrap_libraries' table above. 78 // in the 'bootstrap_libraries' table above.
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // Exit the Dart scope. 312 // Exit the Dart scope.
317 Dart_ExitScope(); 313 Dart_ExitScope();
318 314
319 // Restore the library tag handler for the isolate. 315 // Restore the library tag handler for the isolate.
320 isolate->set_library_tag_handler(saved_tag_handler); 316 isolate->set_library_tag_handler(saved_tag_handler);
321 317
322 return error.raw(); 318 return error.raw();
323 } 319 }
324 320
325 } // namespace dart 321 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/benchmark_test.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698