OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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::LoadScript() { | 18 RawScript* Bootstrap::LoadCoreScript(bool is_patch) { |
19 UNREACHABLE(); | 19 UNREACHABLE(); |
20 return Script::null(); | 20 return Script::null(); |
21 } | 21 } |
22 | 22 |
23 | 23 |
24 RawScript* Bootstrap::LoadImplScript() { | 24 RawScript* Bootstrap::LoadCoreImplScript(bool is_patch) { |
25 UNREACHABLE(); | 25 UNREACHABLE(); |
26 return Script::null(); | 26 return Script::null(); |
27 } | 27 } |
28 | 28 |
29 | 29 |
30 RawScript* Bootstrap::LoadMathScript() { | 30 RawScript* Bootstrap::LoadMathScript(bool is_patch) { |
31 UNREACHABLE(); | 31 UNREACHABLE(); |
32 return Script::null(); | 32 return Script::null(); |
33 } | 33 } |
34 | 34 |
35 | 35 |
36 RawScript* Bootstrap::LoadIsolateScript() { | 36 RawScript* Bootstrap::LoadIsolateScript(bool is_patch) { |
37 UNREACHABLE(); | 37 UNREACHABLE(); |
38 return Script::null(); | 38 return Script::null(); |
39 } | 39 } |
40 | 40 |
41 | 41 |
42 RawScript* Bootstrap::LoadMirrorsScript() { | 42 RawScript* Bootstrap::LoadMirrorsScript(bool is_patch) { |
43 UNREACHABLE(); | 43 UNREACHABLE(); |
44 return Script::null(); | 44 return Script::null(); |
45 } | 45 } |
46 | 46 |
47 | 47 |
48 RawError* Bootstrap::Compile(const Library& library, const Script& script) { | 48 RawError* Bootstrap::Compile(const Library& library, const Script& script) { |
49 UNREACHABLE(); | 49 UNREACHABLE(); |
50 return Error::null(); | 50 return Error::null(); |
51 } | 51 } |
52 | 52 |
53 } // namespace dart | 53 } // namespace dart |
OLD | NEW |