Chromium Code Reviews| 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 bool CodePatcher::IsDartCall(uword return_address) { | |
| 25 UNIMPLEMENTED(); | |
|
srdjan
2011/11/17 01:32:55
Add return false.
hausner
2011/11/17 16:33:02
Done.
| |
| 26 } | |
| 27 | |
| 28 | |
| 24 void CodePatcher::GetInstanceCallAt(uword return_address, | 29 void CodePatcher::GetInstanceCallAt(uword return_address, |
| 25 String* function_name, | 30 String* function_name, |
| 26 int* num_arguments, | 31 int* num_arguments, |
| 27 int* num_named_arguments, | 32 int* num_named_arguments, |
| 28 uword* target) { | 33 uword* target) { |
| 29 UNIMPLEMENTED(); | 34 UNIMPLEMENTED(); |
| 30 } | 35 } |
| 31 | 36 |
| 32 | 37 |
| 33 void CodePatcher::PatchEntry(const Code& code) { | 38 void CodePatcher::PatchEntry(const Code& code) { |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 53 | 58 |
| 54 | 59 |
| 55 void CodePatcher::SetInstanceCallIcDataAt(uword return_address, | 60 void CodePatcher::SetInstanceCallIcDataAt(uword return_address, |
| 56 const Array& ic_data) { | 61 const Array& ic_data) { |
| 57 UNIMPLEMENTED(); | 62 UNIMPLEMENTED(); |
| 58 } | 63 } |
| 59 | 64 |
| 60 } // namespace dart | 65 } // namespace dart |
| 61 | 66 |
| 62 #endif // defined TARGET_ARCH_ARM | 67 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |