Index: src/type-cache.h |
diff --git a/src/type-cache.h b/src/type-cache.h |
index 2a95df9f8ca672d1338d3ff39ad57ff0fc4e8c7a..92d51f1e32266525cc30853772547389e77cebb0 100644 |
--- a/src/type-cache.h |
+++ b/src/type-cache.h |
@@ -57,6 +57,10 @@ class TypeCache final { |
Type* const kAdditiveSafeInteger = |
CreateRange(-4503599627370496.0, 4503599627370496.0); |
Type* const kSafeInteger = CreateRange(-kMaxSafeInteger, kMaxSafeInteger); |
+ Type* const kAdditiveSafeIntegerOrMinusZero = |
+ Type::Union(kAdditiveSafeInteger, Type::MinusZero(), zone()); |
+ Type* const kSafeIntegerOrMinusZero = |
+ Type::Union(kSafeInteger, Type::MinusZero(), zone()); |
Type* const kPositiveSafeInteger = CreateRange(0.0, kMaxSafeInteger); |
Type* const kUntaggedUndefined = |