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/globals.h" // Needed here to get TARGET_ARCH_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
7 | 7 |
8 #include "vm/code_patcher.h" | 8 #include "vm/code_patcher.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
11 | 11 |
12 void CodePatcher::GetStaticCallAt(uword return_address, | 12 void CodePatcher::GetStaticCallAt(uword return_address, |
13 Function* function, | 13 Function* function, |
14 uword* target) { | 14 uword* target) { |
15 UNIMPLEMENTED(); | 15 UNIMPLEMENTED(); |
16 } | 16 } |
17 | 17 |
18 | 18 |
19 void CodePatcher::PatchStaticCallAt(uword return_address, uword new_target) { | 19 void CodePatcher::PatchStaticCallAt(uword return_address, uword new_target) { |
20 UNIMPLEMENTED(); | 20 UNIMPLEMENTED(); |
21 } | 21 } |
22 | 22 |
23 | 23 |
| 24 void CodePatcher::PatchInstanceCallAt(uword return_address, uword new_target) { |
| 25 UNIMPLEMENTED(); |
| 26 } |
| 27 |
| 28 |
24 bool CodePatcher::IsDartCall(uword return_address) { | 29 bool CodePatcher::IsDartCall(uword return_address) { |
25 UNIMPLEMENTED(); | 30 UNIMPLEMENTED(); |
26 return false; | 31 return false; |
27 } | 32 } |
28 | 33 |
29 | 34 |
30 void CodePatcher::GetInstanceCallAt(uword return_address, | 35 void CodePatcher::GetInstanceCallAt(uword return_address, |
31 String* function_name, | 36 String* function_name, |
32 int* num_arguments, | 37 int* num_arguments, |
33 int* num_named_arguments, | 38 int* num_named_arguments, |
(...skipping 25 matching lines...) Expand all Loading... |
59 | 64 |
60 | 65 |
61 void CodePatcher::SetInstanceCallIcDataAt(uword return_address, | 66 void CodePatcher::SetInstanceCallIcDataAt(uword return_address, |
62 const Array& ic_data) { | 67 const Array& ic_data) { |
63 UNIMPLEMENTED(); | 68 UNIMPLEMENTED(); |
64 } | 69 } |
65 | 70 |
66 } // namespace dart | 71 } // namespace dart |
67 | 72 |
68 #endif // defined TARGET_ARCH_ARM | 73 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |