Index: test/cctest/types-fuzz.h |
diff --git a/test/cctest/types-fuzz.h b/test/cctest/types-fuzz.h |
index 16bfd737ea235fd0ddcca862ae8f2e5e15c774de..11cbc941a2f6c7c6422d27016819f04807710585 100644 |
--- a/test/cctest/types-fuzz.h |
+++ b/test/cctest/types-fuzz.h |
@@ -108,6 +108,9 @@ class Types { |
PROPER_BITSET_TYPE_LIST(DECLARE_TYPE) |
#undef DECLARE_TYPE |
+#define DECLARE_TYPE(name, value) Type* Mask##name##ForTesting; |
+ MASK_BITSET_TYPE_LIST(DECLARE_TYPE) |
+#undef DECLARE_TYPE |
Type* SignedSmall; |
Type* UnsignedSmall; |
@@ -139,6 +142,8 @@ class Types { |
Type* Intersect(Type* t1, Type* t2) { return Type::Intersect(t1, t2, zone_); } |
+ Type* Semantic(Type* t) { return Type::Semantic(t, zone_); } |
+ |
Type* Random() { |
return types[rng_->NextInt(static_cast<int>(types.size()))]; |
} |