Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 1c64d8e61ef97c39781ea1afb1be93f48ee254c3..5463a9a87f8fda421cce745b36b6d5d2aa14a75f 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -405,7 +405,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); |
+ } |
} |