summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/type-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/type-cache.h')
-rw-r--r--deps/v8/src/compiler/type-cache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/src/compiler/type-cache.h b/deps/v8/src/compiler/type-cache.h
index 48638c0a63..f0769068a5 100644
--- a/deps/v8/src/compiler/type-cache.h
+++ b/deps/v8/src/compiler/type-cache.h
@@ -38,12 +38,14 @@ class V8_EXPORT_PRIVATE TypeCache final {
Type const kUint32 = Type::Unsigned32();
Type const kDoubleRepresentableInt64 = CreateRange(
std::numeric_limits<int64_t>::min(), kMaxDoubleRepresentableInt64);
+ Type const kDoubleRepresentableInt64OrMinusZero =
+ Type::Union(kDoubleRepresentableInt64, Type::MinusZero(), zone());
Type const kDoubleRepresentableUint64 = CreateRange(
std::numeric_limits<uint64_t>::min(), kMaxDoubleRepresentableUint64);
Type const kFloat32 = Type::Number();
Type const kFloat64 = Type::Number();
- Type const kBigInt64 = Type::BigInt();
- Type const kBigUint64 = Type::BigInt();
+ Type const kBigInt64 = Type::SignedBigInt64();
+ Type const kBigUint64 = Type::UnsignedBigInt64();
Type const kHoleySmi = Type::Union(Type::SignedSmall(), Type::Hole(), zone());