Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: runtime/vm/code_patcher_dbc.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/code_patcher_arm_test.cc ('k') | runtime/vm/code_patcher_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_patcher_dbc.cc
diff --git a/runtime/vm/code_patcher_dbc.cc b/runtime/vm/code_patcher_dbc.cc
index 60cc9d6b3c2b5208134ce0faa790b46d70c51f82..b7ae4860c9760998b4926259d16af8e7971f265c 100644
--- a/runtime/vm/code_patcher_dbc.cc
+++ b/runtime/vm/code_patcher_dbc.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) {
CallPattern::InsertDeoptCallAt(start);
}
-
RawCode* CodePatcher::GetInstanceCallAt(uword return_address,
const Code& code,
ICData* ic_data) {
@@ -46,13 +43,11 @@ RawCode* CodePatcher::GetInstanceCallAt(uword return_address,
return call.TargetCode();
}
-
intptr_t CodePatcher::InstanceCallSizeInBytes() {
UNREACHABLE();
return 0;
}
-
RawFunction* CodePatcher::GetUnoptimizedStaticCallAt(uword return_address,
const Code& code,
ICData* ic_data_result) {
@@ -66,7 +61,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,
@@ -77,7 +71,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));
@@ -85,7 +78,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));
@@ -93,7 +85,6 @@ RawObject* CodePatcher::GetSwitchableCallDataAt(uword return_address,
return call.data();
}
-
void CodePatcher::PatchNativeCallAt(uword return_address,
const Code& code,
NativeFunction target,
@@ -104,7 +95,6 @@ void CodePatcher::PatchNativeCallAt(uword return_address,
call.set_native_function(target);
}
-
RawCode* CodePatcher::GetNativeCallAt(uword return_address,
const Code& code,
NativeFunction* target) {
« no previous file with comments | « runtime/vm/code_patcher_arm_test.cc ('k') | runtime/vm/code_patcher_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698