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::LoadScript() { |
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::LoadImplScript() { |
25 UNREACHABLE(); | 25 UNREACHABLE(); |
26 return Script::null(); | 26 return Script::null(); |
27 } | 27 } |
28 | 28 |
29 | 29 |
30 void Bootstrap::Compile(const Library& library, const Script& script) { | 30 RawError* Bootstrap::Compile(const Library& library, const Script& script) { |
31 UNREACHABLE(); | 31 UNREACHABLE(); |
| 32 return Error::null(); |
32 } | 33 } |
33 | 34 |
34 } // namespace dart | 35 } // namespace dart |
OLD | NEW |