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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 10916078: Remove the is_used_ field from BindInstr. (Closed) Base URL: https://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
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
index 2d5f5877b1a78debb0e20063a8badb3eb5d6f576..67d79fbdc8b1518d530c878bc08f0a8070403c50 100644
--- a/runtime/vm/flow_graph_builder.cc
+++ b/runtime/vm/flow_graph_builder.cc
@@ -67,7 +67,7 @@ void EffectGraphVisitor::Append(const EffectGraphVisitor& other_fragment) {
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 @@ Value* EffectGraphVisitor::Bind(Computation* computation) {
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