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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 9471010: Expand the instruction visitor to visit computations and values. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Small cleanup of comments and identifier naming. Created 8 years, 10 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_builder.cc » ('j') | runtime/vm/intermediate_language.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.h
diff --git a/runtime/vm/flow_graph_builder.h b/runtime/vm/flow_graph_builder.h
index a7148ae0029c70a935eb9a97638e27041e6aba38..b4cc5743ea1175a6479ef0eaa641c6769f0a45a6 100644
--- a/runtime/vm/flow_graph_builder.h
+++ b/runtime/vm/flow_graph_builder.h
@@ -143,7 +143,7 @@ class ValueGraphVisitor : public EffectGraphVisitor {
// temporary value (i.e., set the output parameters).
void ReturnValueOf(Computation* computation) {
AddInstruction(new BindInstr(temp_index(), computation));
- value_ = new TempValue(AllocateTempIndex());
+ value_ = new TempVal(AllocateTempIndex());
}
// Output parameters.
@@ -205,7 +205,7 @@ class TestGraphVisitor : public EffectGraphVisitor {
// Helper to bind a computation and branch on its value.
void BranchOnValueOf(Computation* computation) {
AddInstruction(new BindInstr(temp_index(), computation));
- BranchOnValue(new TempValue(temp_index()));
+ BranchOnValue(new TempVal(temp_index()));
}
// Output parameters.
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.cc » ('j') | runtime/vm/intermediate_language.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698