| 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/dart_api_impl.h" | 9 #include "vm/dart_api_impl.h" |
| 10 #include "vm/object.h" | 10 #include "vm/object.h" |
| 11 #include "vm/object_store.h" | 11 #include "vm/object_store.h" |
| 12 | 12 |
| 13 namespace dart { | 13 namespace dart { |
| 14 | 14 |
| 15 DEFINE_FLAG(bool, print_bootstrap, false, "Print the bootstrap source."); | 15 DEFINE_FLAG(bool, print_bootstrap, false, "Print the bootstrap source."); |
| 16 | 16 |
| 17 | 17 |
| 18 RawScript* Bootstrap::LoadAsyncScript(bool is_patch) { | 18 RawError* Bootstrap::LoadandCompileScripts() { |
| 19 UNREACHABLE(); | |
| 20 return Script::null(); | |
| 21 } | |
| 22 | |
| 23 | |
| 24 RawScript* Bootstrap::LoadCoreScript(bool is_patch) { | |
| 25 UNREACHABLE(); | |
| 26 return Script::null(); | |
| 27 } | |
| 28 | |
| 29 | |
| 30 RawScript* Bootstrap::LoadCollectionScript(bool is_patch) { | |
| 31 UNREACHABLE(); | |
| 32 return Script::null(); | |
| 33 } | |
| 34 | |
| 35 | |
| 36 RawScript* Bootstrap::LoadCollectionDevScript(bool is_patch) { | |
| 37 UNREACHABLE(); | |
| 38 return Script::null(); | |
| 39 } | |
| 40 | |
| 41 | |
| 42 RawScript* Bootstrap::LoadCryptoScript(bool is_patch) { | |
| 43 UNREACHABLE(); | |
| 44 return Script::null(); | |
| 45 } | |
| 46 | |
| 47 | |
| 48 RawScript* Bootstrap::LoadIsolateScript(bool is_patch) { | |
| 49 UNREACHABLE(); | |
| 50 return Script::null(); | |
| 51 } | |
| 52 | |
| 53 | |
| 54 RawScript* Bootstrap::LoadJsonScript(bool is_patch) { | |
| 55 UNREACHABLE(); | |
| 56 return Script::null(); | |
| 57 } | |
| 58 | |
| 59 | |
| 60 RawScript* Bootstrap::LoadMathScript(bool is_patch) { | |
| 61 UNREACHABLE(); | |
| 62 return Script::null(); | |
| 63 } | |
| 64 | |
| 65 | |
| 66 RawScript* Bootstrap::LoadMirrorsScript(bool is_patch) { | |
| 67 UNREACHABLE(); | |
| 68 return Script::null(); | |
| 69 } | |
| 70 | |
| 71 | |
| 72 RawScript* Bootstrap::LoadTypedDataScript(bool is_patch) { | |
| 73 UNREACHABLE(); | |
| 74 return Script::null(); | |
| 75 } | |
| 76 | |
| 77 | |
| 78 RawScript* Bootstrap::LoadUriScript(bool is_patch) { | |
| 79 UNREACHABLE(); | |
| 80 return Script::null(); | |
| 81 } | |
| 82 | |
| 83 | |
| 84 RawScript* Bootstrap::LoadUtfScript(bool is_patch) { | |
| 85 UNREACHABLE(); | |
| 86 return Script::null(); | |
| 87 } | |
| 88 | |
| 89 | |
| 90 RawError* Bootstrap::Compile(const Library& library, const Script& script) { | |
| 91 UNREACHABLE(); | 19 UNREACHABLE(); |
| 92 return Error::null(); | 20 return Error::null(); |
| 93 } | 21 } |
| 94 | 22 |
| 95 } // namespace dart | 23 } // namespace dart |
| OLD | NEW |