| Index: test/cctest/types-fuzz.h
|
| diff --git a/test/cctest/types-fuzz.h b/test/cctest/types-fuzz.h
|
| index 60f054a66e99bbe067a21a6b8882829d0b87d628..6313c6d272af8ccbf82fbc3e62b4276d4f003dc0 100644
|
| --- a/test/cctest/types-fuzz.h
|
| +++ b/test/cctest/types-fuzz.h
|
| @@ -215,6 +215,8 @@ class Types {
|
| return Type::Function(result, arg1, arg2, region_);
|
| }
|
|
|
| + TypeHandle ExplicitObject(int size) { return Type::Object(size, region_); }
|
| +
|
| TypeHandle Union(TypeHandle t1, TypeHandle t2) {
|
| return Type::Union(t1, t2, region_);
|
| }
|
| @@ -240,6 +242,8 @@ class Types {
|
| return types[rng_->NextInt(static_cast<int>(types.size()))];
|
| }
|
|
|
| + TypeHandle ExplicitAny() { return Type::Any(region_); }
|
| +
|
| TypeHandle Fuzz(int depth = 4) {
|
| switch (rng_->NextInt(depth == 0 ? 3 : 20)) {
|
| case 0: { // bitset
|
|
|