OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
| 6 #if defined(TARGET_ARCH_ARM64) |
| 7 |
| 8 #include "vm/code_patcher.h" |
| 9 |
| 10 #include "vm/instructions.h" |
| 11 #include "vm/object.h" |
| 12 |
| 13 namespace dart { |
| 14 |
| 15 RawArray* CodePatcher::GetClosureArgDescAt(uword return_address, |
| 16 const Code& code) { |
| 17 UNIMPLEMENTED(); |
| 18 return NULL; |
| 19 } |
| 20 |
| 21 |
| 22 uword CodePatcher::GetStaticCallTargetAt(uword return_address, |
| 23 const Code& code) { |
| 24 UNIMPLEMENTED(); |
| 25 return 0; |
| 26 } |
| 27 |
| 28 |
| 29 void CodePatcher::PatchStaticCallAt(uword return_address, |
| 30 const Code& code, |
| 31 uword new_target) { |
| 32 UNIMPLEMENTED(); |
| 33 } |
| 34 |
| 35 |
| 36 void CodePatcher::PatchInstanceCallAt(uword return_address, |
| 37 const Code& code, |
| 38 uword new_target) { |
| 39 UNIMPLEMENTED(); |
| 40 } |
| 41 |
| 42 |
| 43 int32_t CodePatcher::GetPoolOffsetAt(uword return_address) { |
| 44 UNIMPLEMENTED(); |
| 45 return 0; |
| 46 } |
| 47 |
| 48 |
| 49 void CodePatcher::SetPoolOffsetAt(uword return_address, int32_t offset) { |
| 50 UNIMPLEMENTED(); |
| 51 } |
| 52 |
| 53 |
| 54 void CodePatcher::InsertCallAt(uword start, uword target) { |
| 55 UNIMPLEMENTED(); |
| 56 } |
| 57 |
| 58 |
| 59 uword CodePatcher::GetInstanceCallAt(uword return_address, |
| 60 const Code& code, |
| 61 ICData* ic_data) { |
| 62 UNIMPLEMENTED(); |
| 63 return 0; |
| 64 } |
| 65 |
| 66 |
| 67 intptr_t CodePatcher::InstanceCallSizeInBytes() { |
| 68 // The instance call instruction sequence has a variable size on ARM. |
| 69 UNREACHABLE(); |
| 70 return 0; |
| 71 } |
| 72 |
| 73 |
| 74 RawFunction* CodePatcher::GetUnoptimizedStaticCallAt( |
| 75 uword return_address, const Code& code, ICData* ic_data_result) { |
| 76 UNIMPLEMENTED(); |
| 77 return NULL; |
| 78 } |
| 79 |
| 80 |
| 81 RawObject* CodePatcher::GetEdgeCounterAt(uword pc, const Code& code) { |
| 82 UNIMPLEMENTED(); |
| 83 return NULL; |
| 84 } |
| 85 |
| 86 } // namespace dart |
| 87 |
| 88 #endif // defined TARGET_ARCH_ARM64 |
OLD | NEW |