Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index f7eeb60fcd178cd85b1712073dc05f4544ebeb3d..c5c7755abfcdc98e8b5f1f2e736e889a12866234 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -452,7 +452,14 @@ void LStoreKeyed::PrintDataTo(StringStream* stream) { |
} else { |
stream->Add("] <- "); |
} |
- value()->PrintTo(stream); |
+ |
+ if (value() == NULL) { |
+ ASSERT(hydrogen()->IsConstantHoleStore() && |
+ hydrogen()->value()->representation().IsDouble()); |
+ stream->Add("<the hole(nan)>"); |
+ } else { |
+ value()->PrintTo(stream); |
+ } |
} |