Index: src/lithium.cc |
diff --git a/src/lithium.cc b/src/lithium.cc |
index e066e7da93fe0daa3247fefb2ea444046fae13c8..360a8bcb202ed0c370c392356818693d727ce1c4 100644 |
--- a/src/lithium.cc |
+++ b/src/lithium.cc |
@@ -39,18 +39,21 @@ bool LParallelMove::IsRedundant() const { |
void LParallelMove::PrintDataTo(StringStream* stream) const { |
+ bool first = true; |
for (int i = move_operands_.length() - 1; i >= 0; --i) { |
if (!move_operands_[i].IsEliminated()) { |
- LOperand* from = move_operands_[i].from(); |
- LOperand* to = move_operands_[i].to(); |
- if (from->Equals(to)) { |
- to->PrintTo(stream); |
+ LOperand* source = move_operands_[i].source(); |
+ LOperand* destination = move_operands_[i].destination(); |
+ if (!first) stream->Add(" "); |
+ first = false; |
+ if (source->Equals(destination)) { |
+ destination->PrintTo(stream); |
} else { |
- to->PrintTo(stream); |
+ destination->PrintTo(stream); |
stream->Add(" = "); |
- from->PrintTo(stream); |
+ source->PrintTo(stream); |
} |
- stream->Add("; "); |
+ stream->Add(";"); |
} |
} |
} |