| Index: runtime/vm/code_patcher_arm64.cc
|
| diff --git a/runtime/vm/code_patcher_arm64.cc b/runtime/vm/code_patcher_arm64.cc
|
| index b64b21d8ec8a70dcc010e86993d9dd14728926cf..5d8c56cf7cbbe15f4e9a7982cb0838403265da55 100644
|
| --- a/runtime/vm/code_patcher_arm64.cc
|
| +++ b/runtime/vm/code_patcher_arm64.cc
|
| @@ -42,7 +42,6 @@ class PoolPointerCall : public ValueObject {
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(PoolPointerCall);
|
| };
|
|
|
| -
|
| RawCode* CodePatcher::GetStaticCallTargetAt(uword return_address,
|
| const Code& code) {
|
| ASSERT(code.ContainsInstructionAt(return_address));
|
| @@ -50,14 +49,12 @@ RawCode* CodePatcher::GetStaticCallTargetAt(uword return_address,
|
| return call.Target();
|
| }
|
|
|
| -
|
| void CodePatcher::PatchStaticCallAt(uword return_address,
|
| const Code& code,
|
| const Code& new_target) {
|
| PatchPoolPointerCallAt(return_address, code, new_target);
|
| }
|
|
|
| -
|
| void CodePatcher::PatchPoolPointerCallAt(uword return_address,
|
| const Code& code,
|
| const Code& new_target) {
|
| @@ -66,12 +63,10 @@ void CodePatcher::PatchPoolPointerCallAt(uword return_address,
|
| call.SetTarget(new_target);
|
| }
|
|
|
| -
|
| void CodePatcher::InsertDeoptimizationCallAt(uword start) {
|
| UNREACHABLE();
|
| }
|
|
|
| -
|
| RawCode* CodePatcher::GetInstanceCallAt(uword return_address,
|
| const Code& code,
|
| ICData* ic_data) {
|
| @@ -83,14 +78,12 @@ RawCode* CodePatcher::GetInstanceCallAt(uword return_address,
|
| return call.TargetCode();
|
| }
|
|
|
| -
|
| intptr_t CodePatcher::InstanceCallSizeInBytes() {
|
| // The instance call instruction sequence has a variable size on ARM64.
|
| UNREACHABLE();
|
| return 0;
|
| }
|
|
|
| -
|
| RawFunction* CodePatcher::GetUnoptimizedStaticCallAt(uword return_address,
|
| const Code& code,
|
| ICData* ic_data_result) {
|
| @@ -104,7 +97,6 @@ RawFunction* CodePatcher::GetUnoptimizedStaticCallAt(uword return_address,
|
| return ic_data.GetTargetAt(0);
|
| }
|
|
|
| -
|
| void CodePatcher::PatchSwitchableCallAt(uword return_address,
|
| const Code& caller_code,
|
| const Object& data,
|
| @@ -115,7 +107,6 @@ void CodePatcher::PatchSwitchableCallAt(uword return_address,
|
| call.SetTarget(target);
|
| }
|
|
|
| -
|
| RawCode* CodePatcher::GetSwitchableCallTargetAt(uword return_address,
|
| const Code& caller_code) {
|
| ASSERT(caller_code.ContainsInstructionAt(return_address));
|
| @@ -123,7 +114,6 @@ RawCode* CodePatcher::GetSwitchableCallTargetAt(uword return_address,
|
| return call.target();
|
| }
|
|
|
| -
|
| RawObject* CodePatcher::GetSwitchableCallDataAt(uword return_address,
|
| const Code& caller_code) {
|
| ASSERT(caller_code.ContainsInstructionAt(return_address));
|
| @@ -131,7 +121,6 @@ RawObject* CodePatcher::GetSwitchableCallDataAt(uword return_address,
|
| return call.data();
|
| }
|
|
|
| -
|
| void CodePatcher::PatchNativeCallAt(uword return_address,
|
| const Code& code,
|
| NativeFunction target,
|
| @@ -142,7 +131,6 @@ void CodePatcher::PatchNativeCallAt(uword return_address,
|
| call.set_native_function(target);
|
| }
|
|
|
| -
|
| RawCode* CodePatcher::GetNativeCallAt(uword return_address,
|
| const Code& code,
|
| NativeFunction* target) {
|
|
|