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

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

Issue 1396603002: Properly split dart:_vmservice across sdk and runtime (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months 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
« no previous file with comments | « runtime/vm/bootstrap.h ('k') | runtime/vm/vm.gypi » ('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/class_finalizer.h" 10 #include "vm/class_finalizer.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 INIT_LIBRARY(ObjectStore::kMirrors, 66 INIT_LIBRARY(ObjectStore::kMirrors,
67 mirrors, 67 mirrors,
68 Bootstrap::mirrors_source_paths_, 68 Bootstrap::mirrors_source_paths_,
69 Bootstrap::mirrors_patch_paths_), 69 Bootstrap::mirrors_patch_paths_),
70 INIT_LIBRARY(ObjectStore::kTypedData, 70 INIT_LIBRARY(ObjectStore::kTypedData,
71 typed_data, 71 typed_data,
72 Bootstrap::typed_data_source_paths_, 72 Bootstrap::typed_data_source_paths_,
73 Bootstrap::typed_data_patch_paths_), 73 Bootstrap::typed_data_patch_paths_),
74 INIT_LIBRARY(ObjectStore::kVMService, 74 INIT_LIBRARY(ObjectStore::kVMService,
75 _vmservice, 75 _vmservice,
76 Bootstrap::vmservice_source_paths_, 76 Bootstrap::_vmservice_source_paths_,
77 NULL), 77 Bootstrap::_vmservice_patch_paths_),
78 { ObjectStore::kNone, NULL, NULL, NULL, NULL } 78 { ObjectStore::kNone, NULL, NULL, NULL, NULL }
79 }; 79 };
80 80
81 81
82 static RawString* GetLibrarySource(const Library& lib, 82 static RawString* GetLibrarySource(const Library& lib,
83 const String& uri, 83 const String& uri,
84 bool patch) { 84 bool patch) {
85 // First check if this is a valid boot strap library and find it's index 85 // First check if this is a valid boot strap library and find it's index
86 // in the 'bootstrap_libraries' table above. 86 // in the 'bootstrap_libraries' table above.
87 intptr_t index; 87 intptr_t index;
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 Compiler::CompileClass(cls); 330 Compiler::CompileClass(cls);
331 } 331 }
332 332
333 // Restore the library tag handler for the isolate. 333 // Restore the library tag handler for the isolate.
334 isolate->set_library_tag_handler(saved_tag_handler); 334 isolate->set_library_tag_handler(saved_tag_handler);
335 335
336 return error.raw(); 336 return error.raw();
337 } 337 }
338 338
339 } // namespace dart 339 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap.h ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698