OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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/globals.h" | 5 #include "vm/globals.h" |
6 #if defined(TARGET_ARCH_DBC) | 6 #if defined(TARGET_ARCH_DBC) |
7 | 7 |
8 #include "vm/runtime_entry.h" | 8 #include "vm/runtime_entry.h" |
9 | 9 |
10 #include "vm/assembler.h" | 10 #include "vm/assembler.h" |
11 #include "vm/simulator.h" | 11 #include "vm/simulator.h" |
12 #include "vm/stub_code.h" | 12 #include "vm/stub_code.h" |
13 | 13 |
14 namespace dart { | 14 namespace dart { |
15 | 15 |
16 | |
17 uword RuntimeEntry::GetEntryPoint() const { | 16 uword RuntimeEntry::GetEntryPoint() const { |
18 return reinterpret_cast<uword>(function()); | 17 return reinterpret_cast<uword>(function()); |
19 } | 18 } |
20 | 19 |
21 | |
22 void RuntimeEntry::Call(Assembler* assembler, intptr_t argument_count) const { | 20 void RuntimeEntry::Call(Assembler* assembler, intptr_t argument_count) const { |
23 UNIMPLEMENTED(); | 21 UNIMPLEMENTED(); |
24 } | 22 } |
25 | 23 |
26 | |
27 } // namespace dart | 24 } // namespace dart |
28 | 25 |
29 #endif // defined TARGET_ARCH_DBC | 26 #endif // defined TARGET_ARCH_DBC |
OLD | NEW |