Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index a19e51065f2f3a17cf908242018989cbe669f963..c97a6c9cf4673143b1479b9204f9216e1cdf1a31 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1495,6 +1495,8 @@ class HeapNumber: public HeapObject { |
static const int kExponentBits = 11; |
static const int kExponentBias = 1023; |
static const int kExponentShift = 20; |
+ static const int kInfinityOrNanExponent = |
+ (kExponentMask >> kExponentShift) - kExponentBias; |
static const int kMantissaBitsInTopWord = 20; |
static const int kNonMantissaBitsInTopWord = 12; |