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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 10908058: Landing: Remove the is_used_ field from BindInstr. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.cc
===================================================================
--- runtime/vm/flow_graph_builder.cc (revision 11766)
+++ runtime/vm/flow_graph_builder.cc (working copy)
@@ -67,7 +67,7 @@
Value* EffectGraphVisitor::Bind(Computation* computation) {
ASSERT(is_open());
DeallocateTempIndex(computation->InputCount());
- BindInstr* bind_instr = new BindInstr(BindInstr::kUsed, computation);
+ BindInstr* bind_instr = new BindInstr(Definition::kValue, computation);
bind_instr->set_temp_index(AllocateTempIndex());
if (is_empty()) {
entry_ = bind_instr;
@@ -82,7 +82,7 @@
void EffectGraphVisitor::Do(Computation* computation) {
ASSERT(is_open());
DeallocateTempIndex(computation->InputCount());
- BindInstr* do_instr = new BindInstr(BindInstr::kUnused, computation);
+ BindInstr* do_instr = new BindInstr(Definition::kEffect, computation);
if (is_empty()) {
entry_ = do_instr;
} else {
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698