| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, |
| 63 Bootstrap::mirrors_source_paths_, | 63 Bootstrap::mirrors_source_paths_, |
| 64 Bootstrap::mirrors_patch_paths_), | 64 Bootstrap::mirrors_patch_paths_), |
| 65 INIT_LIBRARY(ObjectStore::kPlatform, | |
| 66 platform, | |
| 67 Bootstrap::platform_source_paths_, | |
| 68 Bootstrap::platform_patch_paths_), | |
| 69 INIT_LIBRARY(ObjectStore::kTypedData, | 65 INIT_LIBRARY(ObjectStore::kTypedData, |
| 70 typed_data, | 66 typed_data, |
| 71 Bootstrap::typed_data_source_paths_, | 67 Bootstrap::typed_data_source_paths_, |
| 72 Bootstrap::typed_data_patch_paths_), | 68 Bootstrap::typed_data_patch_paths_), |
| 73 INIT_LIBRARY(ObjectStore::kUtf, | 69 INIT_LIBRARY(ObjectStore::kUtf, |
| 74 utf, | 70 utf, |
| 75 Bootstrap::utf_source_paths_, | 71 Bootstrap::utf_source_paths_, |
| 76 NULL), | 72 NULL), |
| 77 | 73 |
| 78 { ObjectStore::kNone, NULL, NULL, NULL, NULL } | 74 { ObjectStore::kNone, NULL, NULL, NULL, NULL } |
| (...skipping 241 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 |