Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index ba1501e891644e0a135ec52e75c57cdd6ffabb80..da1a466d11487be9a4461b22c2535f252cddfe66 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -114,7 +114,11 @@ void LInstruction::PrintDataTo(StringStream* stream) { |
stream->Add("= "); |
for (int i = 0; i < InputCount(); i++) { |
if (i > 0) stream->Add(" "); |
- InputAt(i)->PrintTo(stream); |
+ if (InputAt(i) == NULL) { |
+ stream->Add("NULL"); |
+ } else { |
+ InputAt(i)->PrintTo(stream); |
+ } |
} |
} |