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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 10832214: Move deopt reason into PcDescriptor so the EAX/RAX register is not destroyed. Some cleanups in PC d… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_compiler_ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.cc
===================================================================
--- runtime/vm/flow_graph_compiler.cc (revision 10420)
+++ runtime/vm/flow_graph_compiler.cc (working copy)
@@ -229,14 +229,13 @@
Label* FlowGraphCompiler::AddDeoptStub(intptr_t deopt_id,
- intptr_t deopt_token_pos,
intptr_t try_index,
DeoptReasonId reason,
Register reg1,
Register reg2,
Register reg3) {
DeoptimizationStub* stub =
- new DeoptimizationStub(deopt_id, deopt_token_pos, try_index, reason);
+ new DeoptimizationStub(deopt_id, try_index, reason);
if (pending_deoptimization_env_ == NULL) {
ASSERT(!is_ssa_);
frame_register_allocator()->SpillInDeoptStub(stub);
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_compiler_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698