Index: src/compiler/type-cache.h |
diff --git a/src/compiler/type-cache.h b/src/compiler/type-cache.h |
index 5579ddbf8bab4b5f7898cc9db961230112686df0..4814959eb202b285e99451493fa48ce7edd8f72b 100644 |
--- a/src/compiler/type-cache.h |
+++ b/src/compiler/type-cache.h |
@@ -26,6 +26,8 @@ class TypeCache final { |
Type* const kInt8 = CreateRange<int8_t>(); |
Type* const kUint8 = CreateRange<uint8_t>(); |
Type* const kUint8Clamped = kUint8; |
+ Type* const kUint8OrMinusZeroOrNaN = |
+ Type::Union(kUint8, Type::MinusZeroOrNaN(), zone()); |
Type* const kInt16 = CreateRange<int16_t>(); |
Type* const kUint16 = CreateRange<uint16_t>(); |
Type* const kInt32 = Type::Signed32(); |