Index: runtime/vm/stub_code_arm.cc |
diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc |
index e7e6a66830ca9e97363e397e1e1425264575a605..afe30f72a4e073ec76bb6b5409f4da1b60938478 100644 |
--- a/runtime/vm/stub_code_arm.cc |
+++ b/runtime/vm/stub_code_arm.cc |
@@ -1731,21 +1731,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(); |
- __ LoadImmediate(R0, reinterpret_cast<intptr_t>(Object::null())); |
- // Preserve arguments descriptor and make room for result. |
- __ PushList((1 << R0) | (1 << R4) | (1 << R5)); |
- __ CallRuntime(kBreakpointRuntimeHandlerRuntimeEntry, 0); |
- __ PopList((1 << R0) | (1 << R4) | (1 << R5)); |
- __ LeaveStubFrame(); |
- __ bx(R0); |
-} |
- |
- |
void StubCode::GenerateRuntimeCallBreakpointStub(Assembler* assembler) { |
__ EnterStubFrame(); |
__ LoadImmediate(R0, reinterpret_cast<intptr_t>(Object::null())); |