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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 Bootstrap::isolate_source_paths_, | 60 Bootstrap::isolate_source_paths_, |
61 Bootstrap::isolate_patch_paths_), | 61 Bootstrap::isolate_patch_paths_), |
62 INIT_LIBRARY(ObjectStore::kMath, | 62 INIT_LIBRARY(ObjectStore::kMath, |
63 math, | 63 math, |
64 Bootstrap::math_source_paths_, | 64 Bootstrap::math_source_paths_, |
65 Bootstrap::math_patch_paths_), | 65 Bootstrap::math_patch_paths_), |
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::kProfiler, |
| 71 profiler, |
| 72 Bootstrap::profiler_source_paths_, |
| 73 Bootstrap::profiler_patch_paths_), |
70 INIT_LIBRARY(ObjectStore::kTypedData, | 74 INIT_LIBRARY(ObjectStore::kTypedData, |
71 typed_data, | 75 typed_data, |
72 Bootstrap::typed_data_source_paths_, | 76 Bootstrap::typed_data_source_paths_, |
73 Bootstrap::typed_data_patch_paths_), | 77 Bootstrap::typed_data_patch_paths_), |
74 { ObjectStore::kNone, NULL, NULL, NULL, NULL } | 78 { ObjectStore::kNone, NULL, NULL, NULL, NULL } |
75 }; | 79 }; |
76 | 80 |
77 | 81 |
78 static RawString* GetLibrarySource(const Library& lib, | 82 static RawString* GetLibrarySource(const Library& lib, |
79 const String& uri, | 83 const String& uri, |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 Compiler::CompileClass(cls); | 328 Compiler::CompileClass(cls); |
325 } | 329 } |
326 | 330 |
327 // Restore the library tag handler for the isolate. | 331 // Restore the library tag handler for the isolate. |
328 isolate->set_library_tag_handler(saved_tag_handler); | 332 isolate->set_library_tag_handler(saved_tag_handler); |
329 | 333 |
330 return error.raw(); | 334 return error.raw(); |
331 } | 335 } |
332 | 336 |
333 } // namespace dart | 337 } // namespace dart |
OLD | NEW |