Index: src/objects-debug.cc |
=================================================================== |
--- src/objects-debug.cc (revision 6199) |
+++ src/objects-debug.cc (working copy) |
@@ -368,8 +368,10 @@ |
} else { |
ASSERT(number->IsSmi()); |
int value = Smi::cast(number)->value(); |
- ASSERT(value == 0 || value == 1 || value == -1 || |
- value == -2 || value == -3); |
+ // Hidden oddballs have negative smis. |
+ const int kLeastHiddenOddballNumber = -4; |
+ ASSERT(value <= 1); |
+ ASSERT(value >= kLeastHiddenOddballNumber); |
} |
} |