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 29 matching lines...) Expand all Loading... |
40 Bootstrap::async_source_paths_, | 40 Bootstrap::async_source_paths_, |
41 Bootstrap::async_patch_paths_), | 41 Bootstrap::async_patch_paths_), |
42 INIT_LIBRARY(ObjectStore::kConvert, | 42 INIT_LIBRARY(ObjectStore::kConvert, |
43 convert, | 43 convert, |
44 Bootstrap::convert_source_paths_, | 44 Bootstrap::convert_source_paths_, |
45 Bootstrap::convert_patch_paths_), | 45 Bootstrap::convert_patch_paths_), |
46 INIT_LIBRARY(ObjectStore::kCollection, | 46 INIT_LIBRARY(ObjectStore::kCollection, |
47 collection, | 47 collection, |
48 Bootstrap::collection_source_paths_, | 48 Bootstrap::collection_source_paths_, |
49 Bootstrap::collection_patch_paths_), | 49 Bootstrap::collection_patch_paths_), |
50 INIT_LIBRARY(ObjectStore::kDebugger, | 50 INIT_LIBRARY(ObjectStore::kDeveloper, |
51 debugger, | 51 developer, |
52 Bootstrap::debugger_source_paths_, | 52 Bootstrap::developer_source_paths_, |
53 Bootstrap::debugger_patch_paths_), | 53 Bootstrap::developer_patch_paths_), |
54 INIT_LIBRARY(ObjectStore::kInternal, | 54 INIT_LIBRARY(ObjectStore::kInternal, |
55 _internal, | 55 _internal, |
56 Bootstrap::_internal_source_paths_, | 56 Bootstrap::_internal_source_paths_, |
57 Bootstrap::_internal_patch_paths_), | 57 Bootstrap::_internal_patch_paths_), |
58 INIT_LIBRARY(ObjectStore::kIsolate, | 58 INIT_LIBRARY(ObjectStore::kIsolate, |
59 isolate, | 59 isolate, |
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, |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 Compiler::CompileClass(cls); | 328 Compiler::CompileClass(cls); |
329 } | 329 } |
330 | 330 |
331 // Restore the library tag handler for the isolate. | 331 // Restore the library tag handler for the isolate. |
332 isolate->set_library_tag_handler(saved_tag_handler); | 332 isolate->set_library_tag_handler(saved_tag_handler); |
333 | 333 |
334 return error.raw(); | 334 return error.raw(); |
335 } | 335 } |
336 | 336 |
337 } // namespace dart | 337 } // namespace dart |
OLD | NEW |