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

Unified Diff: runtime/vm/stub_code_ia32.cc

Issue 132793002: Delete obsolete 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
« no previous file with comments | « runtime/vm/stub_code_arm.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_ia32.cc
===================================================================
--- runtime/vm/stub_code_ia32.cc (revision 31677)
+++ runtime/vm/stub_code_ia32.cc (working copy)
@@ -1889,25 +1889,6 @@
}
-// TOS(0): return address (Dart code).
-void StubCode::GenerateBreakpointReturnStub(Assembler* assembler) {
- // Create a stub frame as we are pushing some objects on the stack before
- // calling into the runtime.
- __ EnterStubFrame();
- __ pushl(EAX);
- __ CallRuntime(kBreakpointReturnHandlerRuntimeEntry, 0);
- __ popl(EAX);
- __ LeaveFrame();
-
- // Instead of returning to the patched Dart function, emulate the
- // smashed return code pattern and return to the function's caller.
- __ popl(ECX); // Discard return address to patched dart code.
- // Execute function epilog code that was smashed in the Dart code.
- __ LeaveFrame();
- __ ret();
-}
-
-
// ECX: Inline cache data array.
// TOS(0): return address (Dart code).
void StubCode::GenerateBreakpointDynamicStub(Assembler* assembler) {
« no previous file with comments | « runtime/vm/stub_code_arm.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698