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::kCollection, | 41 INIT_LIBRARY(ObjectStore::kCollection, |
42 collection, | 42 collection, |
43 Bootstrap::collection_source_paths_, | 43 Bootstrap::collection_source_paths_, |
44 Bootstrap::collection_patch_paths_), | 44 Bootstrap::collection_patch_paths_), |
45 INIT_LIBRARY(ObjectStore::kCollectionDev, | 45 INIT_LIBRARY(ObjectStore::kCollectionDev, |
46 _collection-dev, | 46 _collection-dev, |
47 Bootstrap::collection_dev_source_paths_, | 47 Bootstrap::collection_dev_source_paths_, |
48 Bootstrap::collection_dev_patch_paths_), | 48 Bootstrap::collection_dev_patch_paths_), |
49 INIT_LIBRARY(ObjectStore::kCrypto, | |
50 crypto, | |
51 Bootstrap::crypto_source_paths_, | |
52 NULL), | |
53 INIT_LIBRARY(ObjectStore::kIsolate, | 49 INIT_LIBRARY(ObjectStore::kIsolate, |
54 isolate, | 50 isolate, |
55 Bootstrap::isolate_source_paths_, | 51 Bootstrap::isolate_source_paths_, |
56 Bootstrap::isolate_patch_paths_), | 52 Bootstrap::isolate_patch_paths_), |
57 INIT_LIBRARY(ObjectStore::kJson, | 53 INIT_LIBRARY(ObjectStore::kJson, |
58 json, | 54 json, |
59 Bootstrap::json_source_paths_, | 55 Bootstrap::json_source_paths_, |
60 Bootstrap::json_patch_paths_), | 56 Bootstrap::json_patch_paths_), |
61 INIT_LIBRARY(ObjectStore::kMath, | 57 INIT_LIBRARY(ObjectStore::kMath, |
62 math, | 58 math, |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 // Exit the Dart scope. | 316 // Exit the Dart scope. |
321 Dart_ExitScope(); | 317 Dart_ExitScope(); |
322 | 318 |
323 // Restore the library tag handler for the isolate. | 319 // Restore the library tag handler for the isolate. |
324 isolate->set_library_tag_handler(saved_tag_handler); | 320 isolate->set_library_tag_handler(saved_tag_handler); |
325 | 321 |
326 return error.raw(); | 322 return error.raw(); |
327 } | 323 } |
328 | 324 |
329 } // namespace dart | 325 } // namespace dart |
OLD | NEW |