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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 22825023: Uses an object pool on x64 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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/intermediate_language_x64.cc
===================================================================
--- runtime/vm/intermediate_language_x64.cc (revision 26436)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -96,20 +96,16 @@
__ Bind(&done);
}
#endif
- __ LeaveFrame();
+ __ LeaveFrame(true);
__ ret();
- // Generate 8 bytes of NOPs so that the debugger can patch the
+ // Generate 4 bytes of NOPs so that the debugger can patch the
// return pattern with a call to the debug stub.
// Note that the nop(8) byte pattern is not recognized by the debugger.
__ nop(1);
__ nop(1);
__ nop(1);
__ nop(1);
- __ nop(1);
- __ nop(1);
- __ nop(1);
- __ nop(1);
compiler->AddCurrentDescriptor(PcDescriptors::kReturn,
Isolate::kNoDeoptId,
token_pos());
@@ -2230,6 +2226,10 @@
try_index(),
compiler->assembler()->CodeSize(),
catch_handler_types_);
+
+ // Restore the pool pointer.
+ __ LoadPoolPointer();
+
if (HasParallelMove()) {
compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
}

Powered by Google App Engine
This is Rietveld 408576698