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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 static bootstrap_lib_props bootstrap_libraries[] = { | 32 static bootstrap_lib_props bootstrap_libraries[] = { |
33 INIT_LIBRARY(ObjectStore::kCore, | 33 INIT_LIBRARY(ObjectStore::kCore, |
34 core, | 34 core, |
35 Bootstrap::corelib_source_paths_, | 35 Bootstrap::corelib_source_paths_, |
36 Bootstrap::corelib_patch_paths_), | 36 Bootstrap::corelib_patch_paths_), |
37 INIT_LIBRARY(ObjectStore::kAsync, | 37 INIT_LIBRARY(ObjectStore::kAsync, |
38 async, | 38 async, |
39 Bootstrap::async_source_paths_, | 39 Bootstrap::async_source_paths_, |
40 Bootstrap::async_patch_paths_), | 40 Bootstrap::async_patch_paths_), |
| 41 INIT_LIBRARY(ObjectStore::kCodec, |
| 42 codec, |
| 43 Bootstrap::codec_source_paths_, |
| 44 NULL), |
| 45 INIT_LIBRARY(ObjectStore::kConvert, |
| 46 convert, |
| 47 Bootstrap::convert_source_paths_, |
| 48 NULL), |
41 INIT_LIBRARY(ObjectStore::kCollection, | 49 INIT_LIBRARY(ObjectStore::kCollection, |
42 collection, | 50 collection, |
43 Bootstrap::collection_source_paths_, | 51 Bootstrap::collection_source_paths_, |
44 Bootstrap::collection_patch_paths_), | 52 Bootstrap::collection_patch_paths_), |
45 INIT_LIBRARY(ObjectStore::kCollectionDev, | 53 INIT_LIBRARY(ObjectStore::kCollectionDev, |
46 _collection-dev, | 54 _collection-dev, |
47 Bootstrap::collection_dev_source_paths_, | 55 Bootstrap::collection_dev_source_paths_, |
48 Bootstrap::collection_dev_patch_paths_), | 56 Bootstrap::collection_dev_patch_paths_), |
49 INIT_LIBRARY(ObjectStore::kIsolate, | 57 INIT_LIBRARY(ObjectStore::kIsolate, |
50 isolate, | 58 isolate, |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 // Exit the Dart scope. | 324 // Exit the Dart scope. |
317 Dart_ExitScope(); | 325 Dart_ExitScope(); |
318 | 326 |
319 // Restore the library tag handler for the isolate. | 327 // Restore the library tag handler for the isolate. |
320 isolate->set_library_tag_handler(saved_tag_handler); | 328 isolate->set_library_tag_handler(saved_tag_handler); |
321 | 329 |
322 return error.raw(); | 330 return error.raw(); |
323 } | 331 } |
324 | 332 |
325 } // namespace dart | 333 } // namespace dart |
OLD | NEW |