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

Unified Diff: runtime/vm/stub_code_mips.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_mips.cc
===================================================================
--- runtime/vm/stub_code_mips.cc (revision 31928)
+++ runtime/vm/stub_code_mips.cc (working copy)
@@ -2081,37 +2081,6 @@
}
-// RA: return address (Dart code).
-// S5: 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.
- __ TraceSimMsg("BreakpointDynamicStub");
- __ EnterStubFrame();
- __ Push(S5);
- __ CallRuntime(kBreakpointDynamicHandlerRuntimeEntry, 0);
- __ Pop(S5);
- __ LeaveStubFrame();
-
- // Find out which dispatch stub to call.
- __ lw(T1, FieldAddress(S5, ICData::num_args_tested_offset()));
-
- Label one_arg, two_args, three_args;
- __ BranchEqual(T1, 1, &one_arg);
- __ BranchEqual(T1, 2, &two_args);
- __ BranchEqual(T1, 3, &three_args);
- __ Stop("Unsupported number of arguments tested.");
-
- __ Bind(&one_arg);
- __ Branch(&StubCode::OneArgCheckInlineCacheLabel());
- __ Bind(&two_args);
- __ Branch(&StubCode::TwoArgsCheckInlineCacheLabel());
- __ Bind(&three_args);
- __ Branch(&StubCode::ThreeArgsCheckInlineCacheLabel());
- __ break_(0);
-}
-
-
// Called only from unoptimized code. All relevant registers have been saved.
// RA: return address.
void StubCode::GenerateDebugStepCheckStub(Assembler* assembler) {

Powered by Google App Engine
This is Rietveld 408576698