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()); |
} |