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/compiler.h" | 10 #include "vm/compiler.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 Bootstrap::async_source_paths_, | 39 Bootstrap::async_source_paths_, |
40 Bootstrap::async_patch_paths_), | 40 Bootstrap::async_patch_paths_), |
41 INIT_LIBRARY(ObjectStore::kConvert, | 41 INIT_LIBRARY(ObjectStore::kConvert, |
42 convert, | 42 convert, |
43 Bootstrap::convert_source_paths_, | 43 Bootstrap::convert_source_paths_, |
44 Bootstrap::convert_patch_paths_), | 44 Bootstrap::convert_patch_paths_), |
45 INIT_LIBRARY(ObjectStore::kCollection, | 45 INIT_LIBRARY(ObjectStore::kCollection, |
46 collection, | 46 collection, |
47 Bootstrap::collection_source_paths_, | 47 Bootstrap::collection_source_paths_, |
48 Bootstrap::collection_patch_paths_), | 48 Bootstrap::collection_patch_paths_), |
49 INIT_LIBRARY(ObjectStore::kCollectionDev, | 49 INIT_LIBRARY(ObjectStore::kInternal, |
50 _collection-dev, | 50 _internal, |
51 Bootstrap::collection_dev_source_paths_, | 51 Bootstrap::internal_source_paths_, |
52 Bootstrap::collection_dev_patch_paths_), | 52 Bootstrap::internal_patch_paths_), |
53 INIT_LIBRARY(ObjectStore::kIsolate, | 53 INIT_LIBRARY(ObjectStore::kIsolate, |
54 isolate, | 54 isolate, |
55 Bootstrap::isolate_source_paths_, | 55 Bootstrap::isolate_source_paths_, |
56 Bootstrap::isolate_patch_paths_), | 56 Bootstrap::isolate_patch_paths_), |
57 INIT_LIBRARY(ObjectStore::kMath, | 57 INIT_LIBRARY(ObjectStore::kMath, |
58 math, | 58 math, |
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, |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 // Exit the Dart scope. | 312 // Exit the Dart scope. |
313 Dart_ExitScope(); | 313 Dart_ExitScope(); |
314 | 314 |
315 // Restore the library tag handler for the isolate. | 315 // Restore the library tag handler for the isolate. |
316 isolate->set_library_tag_handler(saved_tag_handler); | 316 isolate->set_library_tag_handler(saved_tag_handler); |
317 | 317 |
318 return error.raw(); | 318 return error.raw(); |
319 } | 319 } |
320 | 320 |
321 } // namespace dart | 321 } // namespace dart |
OLD | NEW |