Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 0d116ac0e77f57f01d6175181167036268de4b91..b7473879df21f4085e614a6c609749864de29d80 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -806,6 +806,14 @@ void HInstruction::PrintTo(StringStream* stream) { |
} |
+void HInstruction::PrintDataTo(StringStream *stream) { |
+ for (int i = 0; i < OperandCount(); ++i) { |
+ if (i > 0) stream->Add(" "); |
+ OperandAt(i)->PrintNameTo(stream); |
+ } |
+} |
+ |
+ |
void HInstruction::PrintMnemonicTo(StringStream* stream) { |
stream->Add("%s ", Mnemonic()); |
} |