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

Unified Diff: runtime/vm/flow_graph_range_analysis.cc

Issue 806973002: Cleanup access to Instruction's fields (especially deopt_id_). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years 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/flow_graph_range_analysis.cc
===================================================================
--- runtime/vm/flow_graph_range_analysis.cc (revision 42367)
+++ runtime/vm/flow_graph_range_analysis.cc (working copy)
@@ -958,7 +958,7 @@
last->env(),
instr->IsDefinition() ? FlowGraph::kValue
: FlowGraph::kEffect);
- instr->deopt_id_ = last->GetDeoptId();
+ instr->CopyDeoptIdFrom(*last);
instr->env()->set_deopt_id(instr->deopt_id_);
map_.Insert(instr);

Powered by Google App Engine
This is Rietveld 408576698