Index: src/type-cache.h |
diff --git a/src/type-cache.h b/src/type-cache.h |
index 2b04c247cb8864a5a9ee777dc4a48ef70e6a813c..5eed557f7dff59782815e9458c285fd3dcab8b20 100644 |
--- a/src/type-cache.h |
+++ b/src/type-cache.h |
@@ -46,7 +46,13 @@ class TypeCache final { |
Type* const kZeroish = |
Type::Union(kSingletonZero, Type::MinusZeroOrNaN(), zone()); |
Type* const kInteger = CreateRange(-V8_INFINITY, V8_INFINITY); |
- Type* const kWeakint = Type::Union(kInteger, Type::MinusZeroOrNaN(), zone()); |
+ Type* const kPositiveInteger = CreateRange(0.0, V8_INFINITY); |
+ Type* const kIntegerOrMinusZero = |
+ Type::Union(kInteger, Type::MinusZero(), zone()); |
+ Type* const kIntegerOrMinusZeroOrNaN = |
+ Type::Union(kIntegerOrMinusZero, Type::NaN(), zone()); |
+ |
+ Type* const kPositiveSafeInteger = CreateRange(0.0, kMaxSafeInteger); |
Type* const kIntegral32 = Type::Union(kInt32, kUint32, zone()); |