diff options
Diffstat (limited to 'src/tools/fuzzing/fuzzing.cpp')
-rw-r--r-- | src/tools/fuzzing/fuzzing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/fuzzing/fuzzing.cpp b/src/tools/fuzzing/fuzzing.cpp index 2317e7d49..1aa52e70d 100644 --- a/src/tools/fuzzing/fuzzing.cpp +++ b/src/tools/fuzzing/fuzzing.cpp @@ -2341,7 +2341,7 @@ Expression* TranslateToFuzzReader::makeBasicRef(Type type) { if (type.isNullable() && oneIn(4)) { return builder.makeRefNull(HeapType::none); } - return builder.makeI31New(makeConst(Type::i32)); + return builder.makeRefI31(makeConst(Type::i32)); } case HeapType::struct_: { assert(wasm.features.hasGC()); |