Index: runtime/vm/code_patcher_arm.cc |
diff --git a/runtime/vm/code_patcher_arm.cc b/runtime/vm/code_patcher_arm.cc |
index 70507f88f76cdebb5872b7996fb7b091b2041385..bc4ae08335f70a9b25e94e088b210a2690ff8174 100644 |
--- a/runtime/vm/code_patcher_arm.cc |
+++ b/runtime/vm/code_patcher_arm.cc |
@@ -20,7 +20,6 @@ RawCode* CodePatcher::GetStaticCallTargetAt(uword return_address, |
return call.TargetCode(); |
} |
- |
void CodePatcher::PatchStaticCallAt(uword return_address, |
const Code& code, |
const Code& new_target) { |
@@ -29,12 +28,10 @@ void CodePatcher::PatchStaticCallAt(uword return_address, |
call.SetTargetCode(new_target); |
} |
- |
void CodePatcher::InsertDeoptimizationCallAt(uword start) { |
UNREACHABLE(); |
} |
- |
RawCode* CodePatcher::GetInstanceCallAt(uword return_address, |
const Code& code, |
ICData* ic_data) { |
@@ -46,14 +43,12 @@ RawCode* CodePatcher::GetInstanceCallAt(uword return_address, |
return call.TargetCode(); |
} |
- |
intptr_t CodePatcher::InstanceCallSizeInBytes() { |
// The instance call instruction sequence has a variable size on ARM. |
UNREACHABLE(); |
return 0; |
} |
- |
RawFunction* CodePatcher::GetUnoptimizedStaticCallAt(uword return_address, |
const Code& code, |
ICData* ic_data_result) { |
@@ -67,7 +62,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, |
@@ -78,7 +72,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)); |
@@ -86,7 +79,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)); |
@@ -94,7 +86,6 @@ RawObject* CodePatcher::GetSwitchableCallDataAt(uword return_address, |
return call.data(); |
} |
- |
void CodePatcher::PatchNativeCallAt(uword return_address, |
const Code& code, |
NativeFunction target, |
@@ -105,7 +96,6 @@ void CodePatcher::PatchNativeCallAt(uword return_address, |
call.set_native_function(target); |
} |
- |
RawCode* CodePatcher::GetNativeCallAt(uword return_address, |
const Code& code, |
NativeFunction* target) { |