Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 13342ca36a405b187a862c54dca11a972d085f9e..b6ec9a2ac665ea2d2dc8f09d427d4b371bf6f3ce 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -601,7 +601,8 @@ void Oddball::OddballVerify() { |
VerifyHeapPointer(to_string()); |
Object* number = to_number(); |
if (number->IsHeapObject()) { |
- CHECK(number == heap->nan_value()); |
+ CHECK(number == heap->nan_value() || |
+ number == heap->hole_nan_value()); |
} else { |
CHECK(number->IsSmi()); |
int value = Smi::cast(number)->value(); |