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

Unified Diff: vm/il_printer.cc

Issue 10583014: Fix a bug in SSA renaming. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 6 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
« vm/flow_graph_builder.cc ('K') | « vm/flow_graph_builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/il_printer.cc
===================================================================
--- vm/il_printer.cc (revision 8839)
+++ vm/il_printer.cc (working copy)
@@ -87,7 +87,7 @@
void UseVal::PrintTo(BufferFormatter* f) const {
if (definition()->ssa_temp_index() != -1) {
- f->Print("t%d", definition()->ssa_temp_index());
+ f->Print("v%d", definition()->ssa_temp_index());
} else {
f->Print("t%d", definition()->temp_index());
}
@@ -358,7 +358,7 @@
void PhiInstr::PrintTo(BufferFormatter* f) const {
- f->Print(" t%d <- phi(", ssa_temp_index());
+ f->Print(" v%d <- phi(", ssa_temp_index());
for (intptr_t i = 0; i < inputs_.length(); ++i) {
if (inputs_[i] != NULL) inputs_[i]->PrintTo(f);
if (i < inputs_.length() - 1) f->Print(",");
@@ -385,7 +385,7 @@
void BindInstr::PrintTo(BufferFormatter* f) const {
if (ssa_temp_index() != -1) {
- f->Print(" t%d <- ", ssa_temp_index());
+ f->Print(" v%d <- ", ssa_temp_index());
} else {
f->Print(" t%d <- ", temp_index());
}
@@ -570,7 +570,7 @@
void PhiInstr::PrintToVisualizer(BufferFormatter* f) const {
- f->Print("t%d [", ssa_temp_index());
+ f->Print("v%d [", ssa_temp_index());
bool has_constant = false;
for (intptr_t i = 0; i < InputCount(); ++i) {
if (i > 0) f->Print(" ");
@@ -615,7 +615,7 @@
void BindInstr::PrintToVisualizer(BufferFormatter* f) const {
if (ssa_temp_index() != -1) {
- f->Print("t%d ", ssa_temp_index());
+ f->Print("v%d ", ssa_temp_index());
} else {
f->Print("t%d ", temp_index());
}
« vm/flow_graph_builder.cc ('K') | « vm/flow_graph_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698