Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index bcf5492b72390317973a6a2124ca75d3f1912751..ab571470a934c1992eb9659d82e5a2feb77db9cc 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -3593,7 +3593,8 @@ class HConstant FINAL : public HTemplateInstruction<0> { |
if (HasDoubleValue() && FixedDoubleArray::is_the_hole_nan(double_value_)) { |
return true; |
} |
- return object_.IsKnownGlobal(isolate()->heap()->the_hole_value()); |
+ return object_.IsInitialized() && |
+ object_.IsKnownGlobal(isolate()->heap()->the_hole_value()); |
} |
bool HasNumberValue() const { return has_double_value_; } |
int32_t NumberValueAsInteger32() const { |