| 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 { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 void CodePatcher::GetInstanceCallAt(uword return_address, | 24 void CodePatcher::GetInstanceCallAt(uword return_address, |
| 25 String* function_name, | 25 String* function_name, |
| 26 int* num_arguments, | 26 int* num_arguments, |
| 27 int* num_named_arguments, | 27 int* num_named_arguments, |
| 28 uword* target) { | 28 uword* target) { |
| 29 UNIMPLEMENTED(); | 29 UNIMPLEMENTED(); |
| 30 } | 30 } |
| 31 | 31 |
| 32 | 32 |
| 33 void CodePatcher::PatchInstanceCallAt(uword return_address, uword new_target) { | |
| 34 UNIMPLEMENTED(); | |
| 35 } | |
| 36 | |
| 37 | |
| 38 void CodePatcher::InsertCall(uword at_addr, const ExternalLabel* label) { | |
| 39 UNIMPLEMENTED(); | |
| 40 } | |
| 41 | |
| 42 | |
| 43 void CodePatcher::InsertJump(uword at_addr, const ExternalLabel* label) { | |
| 44 UNIMPLEMENTED(); | |
| 45 } | |
| 46 | |
| 47 | |
| 48 void CodePatcher::PatchEntry(const Code& code) { | 33 void CodePatcher::PatchEntry(const Code& code) { |
| 49 UNIMPLEMENTED(); | 34 UNIMPLEMENTED(); |
| 50 } | 35 } |
| 51 | 36 |
| 52 | 37 |
| 53 void CodePatcher::RestoreEntry(const Code& code) { | 38 void CodePatcher::RestoreEntry(const Code& code) { |
| 54 UNIMPLEMENTED(); | 39 UNIMPLEMENTED(); |
| 55 } | 40 } |
| 56 | 41 |
| 57 | 42 |
| 58 bool CodePatcher::CodeIsPatchable(const Code& code) { | 43 bool CodePatcher::CodeIsPatchable(const Code& code) { |
| 59 UNIMPLEMENTED(); | 44 UNIMPLEMENTED(); |
| 60 return false; | 45 return false; |
| 61 } | 46 } |
| 62 | 47 |
| 48 |
| 49 RawArray* CodePatcher::GetInstanceCallIcDataAt(uword return_address) { |
| 50 UNIMPLEMENTED(); |
| 51 return NULL; |
| 52 } |
| 53 |
| 54 |
| 55 void CodePatcher::SetInstanceCallIcDataAt(uword return_address, |
| 56 const Array& ic_data) { |
| 57 UNIMPLEMENTED(); |
| 58 } |
| 59 |
| 63 } // namespace dart | 60 } // namespace dart |
| 64 | 61 |
| 65 #endif // defined TARGET_ARCH_ARM | 62 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |