Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index cd939cb33d1ef94b98621396bfde85b210556947..d9b41e96a5344581a9687fdaa53abc2e32ac2056 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -609,7 +609,7 @@ void Oddball::OddballVerify() { |
CHECK(number->IsSmi()); |
int value = Smi::cast(number)->value(); |
// Hidden oddballs have negative smis. |
- const int kLeastHiddenOddballNumber = -6; |
+ const int kLeastHiddenOddballNumber = -7; |
CHECK_LE(value, 1); |
CHECK(value >= kLeastHiddenOddballNumber); |
} |
@@ -634,6 +634,8 @@ void Oddball::OddballVerify() { |
CHECK(this == heap->exception()); |
} else if (map() == heap->optimized_out_map()) { |
CHECK(this == heap->optimized_out()); |
+ } else if (map() == heap->stale_register_map()) { |
+ CHECK(this == heap->stale_register()); |
} else { |
UNREACHABLE(); |
} |