Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 0945172962b9cceeaf7a1d522b97c20b1d40d222..e50be086bc7012619538c29f3d3539295cc1e809 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -427,7 +427,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); |
+ } |
} |