Index: src/compiler/type-cache.h |
diff --git a/src/compiler/type-cache.h b/src/compiler/type-cache.h |
index 392c3318e8b799021eb9c1dd70bae048307ca4e3..3d9801bc107c145a671221367a841e8f65cb6e59 100644 |
--- a/src/compiler/type-cache.h |
+++ b/src/compiler/type-cache.h |
@@ -64,6 +64,8 @@ class TypeCache final { |
Type* const kPositiveInteger = CreateRange(0.0, V8_INFINITY); |
Type* const kPositiveIntegerOrMinusZero = |
Type::Union(kPositiveInteger, Type::MinusZero(), zone()); |
+ Type* const kPositiveIntegerOrNaN = |
+ Type::Union(kPositiveInteger, Type::NaN(), zone()); |
Type* const kPositiveIntegerOrMinusZeroOrNaN = |
Type::Union(kPositiveIntegerOrMinusZero, Type::NaN(), zone()); |