Index: runtime/vm/stub_code_arm64.cc |
diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc |
index e443039ff3fbb3037bf44661edcb49147c505279..7b51dbfa54b309b6270778be1bed210b8c455cb5 100644 |
--- a/runtime/vm/stub_code_arm64.cc |
+++ b/runtime/vm/stub_code_arm64.cc |
@@ -1792,23 +1792,6 @@ void StubCode::GenerateICCallBreakpointStub(Assembler* assembler) { |
} |
-// R5: Contains Smi 0 (need to preserve a GC-safe value for the lazy compile |
-// stub). |
-// R4: Contains an arguments descriptor. |
-void StubCode::GenerateClosureCallBreakpointStub(Assembler* assembler) { |
- __ EnterStubFrame(); |
- __ Push(R5); |
- __ Push(R4); |
- __ PushObject(Object::null_object(), PP); // Space for result. |
- __ CallRuntime(kBreakpointRuntimeHandlerRuntimeEntry, 0); |
- __ Pop(R0); |
- __ Pop(R4); |
- __ Pop(R5); |
- __ LeaveStubFrame(); |
- __ br(R0); |
-} |
- |
- |
void StubCode::GenerateRuntimeCallBreakpointStub(Assembler* assembler) { |
__ EnterStubFrame(); |
__ PushObject(Object::null_object(), PP); // Space for result. |