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

Unified Diff: runtime/vm/stub_code_arm64.cc

Issue 1270803003: VM: More abstract interface for generating stub calls. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/stub_code_arm.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm64.cc
diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc
index 8ec0d15621eb0945c3b13ee6a074190430664910..b3bd5520d5749b13b3d064005e608f737a911f9c 100644
--- a/runtime/vm/stub_code_arm64.cc
+++ b/runtime/vm/stub_code_arm64.cc
@@ -399,8 +399,7 @@ static void PushArgumentsArray(Assembler* assembler) {
__ LoadObject(R1, Object::null_object());
// R1: null element type for raw Array.
// R2: smi-tagged argument count, may be zero.
- const ExternalLabel array_label(StubCode::AllocateArrayEntryPoint());
- __ BranchLink(&array_label);
+ __ BranchLink(*StubCode::AllocateArray_entry());
// R0: newly allocated array.
// R2: smi-tagged argument count, may be zero (was preserved by the stub).
__ Push(R0); // Array is in R0 and on top of stack.
@@ -1206,7 +1205,7 @@ void StubCode::GenerateAllocationStubForClass(
__ LeaveStubFrame();
__ ret();
*patch_code_pc_offset = assembler->CodeSize();
- __ BranchPatchable(&StubCode::FixAllocationStubTargetLabel());
+ __ BranchPatchable(*StubCode::FixAllocationStubTarget_entry());
}
« no previous file with comments | « runtime/vm/stub_code_arm.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698