| OLD | NEW |
| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 mirrors, | 75 mirrors, |
| 76 Bootstrap::mirrors_source_paths_, | 76 Bootstrap::mirrors_source_paths_, |
| 77 Bootstrap::mirrors_patch_paths_), | 77 Bootstrap::mirrors_patch_paths_), |
| 78 INIT_LIBRARY(ObjectStore::kProfiler, | 78 INIT_LIBRARY(ObjectStore::kProfiler, |
| 79 profiler, | 79 profiler, |
| 80 Bootstrap::profiler_source_paths_, | 80 Bootstrap::profiler_source_paths_, |
| 81 NULL), | 81 NULL), |
| 82 INIT_LIBRARY(ObjectStore::kTypedData, | 82 INIT_LIBRARY(ObjectStore::kTypedData, |
| 83 typed_data, | 83 typed_data, |
| 84 Bootstrap::typed_data_source_paths_, | 84 Bootstrap::typed_data_source_paths_, |
| 85 Bootstrap::typed_data_patch_paths_), | 85 NULL), |
| 86 INIT_LIBRARY(ObjectStore::kVMService, | 86 INIT_LIBRARY(ObjectStore::kVMService, |
| 87 _vmservice, | 87 _vmservice, |
| 88 Bootstrap::_vmservice_source_paths_, | 88 Bootstrap::_vmservice_source_paths_, |
| 89 Bootstrap::_vmservice_patch_paths_), | 89 Bootstrap::_vmservice_patch_paths_), |
| 90 { ObjectStore::kNone, NULL, NULL, NULL, NULL } | 90 { ObjectStore::kNone, NULL, NULL, NULL, NULL } |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 | 93 |
| 94 static RawString* GetLibrarySource(const Library& lib, | 94 static RawString* GetLibrarySource(const Library& lib, |
| 95 const String& uri, | 95 const String& uri, |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 Compiler::CompileClass(cls); | 360 Compiler::CompileClass(cls); |
| 361 } | 361 } |
| 362 | 362 |
| 363 // Restore the library tag handler for the isolate. | 363 // Restore the library tag handler for the isolate. |
| 364 isolate->set_library_tag_handler(saved_tag_handler); | 364 isolate->set_library_tag_handler(saved_tag_handler); |
| 365 | 365 |
| 366 return error.raw(); | 366 return error.raw(); |
| 367 } | 367 } |
| 368 | 368 |
| 369 } // namespace dart | 369 } // namespace dart |
| OLD | NEW |