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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 290993003: VM: Remove unnecessary field use_kind from IL instructions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
« runtime/vm/intermediate_language.h ('K') | « runtime/vm/intermediate_language.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.cc
===================================================================
--- runtime/vm/intermediate_language.cc (revision 36349)
+++ runtime/vm/intermediate_language.cc (working copy)
@@ -43,7 +43,6 @@
ssa_temp_index_(-1),
input_use_list_(NULL),
env_use_list_(NULL),
- use_kind_(kValue), // Phis and parameters rely on this default.
constant_value_(Object::ZoneHandle(ConstantPropagator::Unknown())) {
}
@@ -1403,7 +1402,7 @@
new MathUnaryInstr(MathUnaryInstr::kDoubleSquare,
new Value(left()->definition()),
DeoptimizationTarget());
- flow_graph->InsertBefore(this, math_unary, env(), Definition::kValue);
+ flow_graph->InsertBefore(this, math_unary, env(), FlowGraph::kValue);
return math_unary;
}
@@ -1661,7 +1660,7 @@
ConstantInstr* c = value()->definition()->AsConstant();
if ((c != NULL) && c->value().IsDouble()) {
UnboxedConstantInstr* uc = new UnboxedConstantInstr(c->value());
- flow_graph->InsertBefore(this, uc, NULL, Definition::kValue);
+ flow_graph->InsertBefore(this, uc, NULL, FlowGraph::kValue);
return uc;
}
« runtime/vm/intermediate_language.h ('K') | « runtime/vm/intermediate_language.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698