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

Unified Diff: runtime/vm/stub_code_arm.cc

Issue 140743010: Get rid of dynamic call debug stub (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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
Index: runtime/vm/stub_code_arm.cc
===================================================================
--- runtime/vm/stub_code_arm.cc (revision 31928)
+++ runtime/vm/stub_code_arm.cc (working copy)
@@ -1836,29 +1836,6 @@
}
-// LR: return address (Dart code).
-// R5: inline cache data array.
-void StubCode::GenerateBreakpointDynamicStub(Assembler* assembler) {
- // Create a stub frame as we are pushing some objects on the stack before
- // calling into the runtime.
- __ EnterStubFrame();
- __ Push(R5);
- __ CallRuntime(kBreakpointDynamicHandlerRuntimeEntry, 0);
- __ Pop(R5);
- __ LeaveStubFrame();
-
- // Find out which dispatch stub to call.
- __ ldr(IP, FieldAddress(R5, ICData::num_args_tested_offset()));
- __ cmp(IP, ShifterOperand(1));
- __ Branch(&StubCode::OneArgCheckInlineCacheLabel(), EQ);
- __ cmp(IP, ShifterOperand(2));
- __ Branch(&StubCode::TwoArgsCheckInlineCacheLabel(), EQ);
- __ cmp(IP, ShifterOperand(3));
- __ Branch(&StubCode::ThreeArgsCheckInlineCacheLabel(), EQ);
- __ Stop("Unsupported number of arguments tested.");
-}
-
-
// Called only from unoptimized code. All relevant registers have been saved.
void StubCode::GenerateDebugStepCheckStub(
Assembler* assembler) {

Powered by Google App Engine
This is Rietveld 408576698