diff options
Diffstat (limited to 'src/tools/fuzzing.h')
-rw-r--r-- | src/tools/fuzzing.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/fuzzing.h b/src/tools/fuzzing.h index 7e5a56ab1..22d9a12e6 100644 --- a/src/tools/fuzzing.h +++ b/src/tools/fuzzing.h @@ -2943,10 +2943,11 @@ private: WASM_UNREACHABLE("invalid value"); } + // TODO: support other RefIs variants, and rename this Expression* makeRefIsNull(Type type) { assert(type == Type::i32); assert(wasm.features.hasReferenceTypes()); - return builder.makeRefIsNull(make(getReferenceType())); + return builder.makeRefIs(RefIsNull, make(getReferenceType())); } Expression* makeRefEq(Type type) { |