| 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 RawScript* Bootstrap::LoadMathScript() { |
| 31 UNREACHABLE(); |
| 32 return Script::null(); |
| 33 } |
| 34 |
| 35 |
| 30 RawScript* Bootstrap::LoadIsolateScript() { | 36 RawScript* Bootstrap::LoadIsolateScript() { |
| 31 UNREACHABLE(); | 37 UNREACHABLE(); |
| 32 return Script::null(); | 38 return Script::null(); |
| 33 } | 39 } |
| 34 | 40 |
| 35 | 41 |
| 36 RawScript* Bootstrap::LoadMirrorsScript() { | 42 RawScript* Bootstrap::LoadMirrorsScript() { |
| 37 UNREACHABLE(); | 43 UNREACHABLE(); |
| 38 return Script::null(); | 44 return Script::null(); |
| 39 } | 45 } |
| 40 | 46 |
| 41 | 47 |
| 42 RawError* Bootstrap::Compile(const Library& library, const Script& script) { | 48 RawError* Bootstrap::Compile(const Library& library, const Script& script) { |
| 43 UNREACHABLE(); | 49 UNREACHABLE(); |
| 44 return Error::null(); | 50 return Error::null(); |
| 45 } | 51 } |
| 46 | 52 |
| 47 } // namespace dart | 53 } // namespace dart |
| OLD | NEW |