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

Unified Diff: runtime/vm/stub_code_x64.cc

Issue 140793010: Eliminate another debugger 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_mips.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_x64.cc
===================================================================
--- runtime/vm/stub_code_x64.cc (revision 31898)
+++ runtime/vm/stub_code_x64.cc (working copy)
@@ -1849,28 +1849,6 @@
}
-// RBX: ICData (unoptimized static call)
-// TOS(0): return address (Dart code).
-void StubCode::GenerateBreakpointStaticStub(Assembler* assembler) {
- __ EnterStubFrame();
- __ LoadObject(R12, Object::null_object(), PP);
- __ pushq(RBX); // Preserve IC data for unoptimized call.
- __ pushq(R12); // Room for result.
- __ CallRuntime(kBreakpointStaticHandlerRuntimeEntry, 0);
- __ popq(RAX); // Code object.
- __ popq(RBX); // Restore IC data.
- __ LeaveStubFrame();
-
- // Load arguments descriptor into R10.
- __ movq(R10, FieldAddress(RBX, ICData::arguments_descriptor_offset()));
- // Now call the static function. The breakpoint handler function
- // ensures that the call target is compiled.
- __ movq(RBX, FieldAddress(RAX, Code::instructions_offset()));
- __ addq(RBX, Immediate(Instructions::HeaderSize() - kHeapObjectTag));
- __ jmp(RBX);
-}
-
-
// RBX: Inline cache data array.
// TOS(0): return address (Dart code).
void StubCode::GenerateBreakpointDynamicStub(Assembler* assembler) {
« no previous file with comments | « runtime/vm/stub_code_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698