diff options
Diffstat (limited to 'src/tools/fuzzing')
-rw-r--r-- | src/tools/fuzzing/fuzzing.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tools/fuzzing/fuzzing.cpp b/src/tools/fuzzing/fuzzing.cpp index a283aae91..7e87f4f58 100644 --- a/src/tools/fuzzing/fuzzing.cpp +++ b/src/tools/fuzzing/fuzzing.cpp @@ -3808,15 +3808,14 @@ Expression* TranslateToFuzzReader::makeBinary(Type type) { WASM_UNREACHABLE("invalid type"); } -Expression* TranslateToFuzzReader::buildSelect(const ThreeArgs& args, - Type type) { - return builder.makeSelect(args.a, args.b, args.c, type); +Expression* TranslateToFuzzReader::buildSelect(const ThreeArgs& args) { + return builder.makeSelect(args.a, args.b, args.c); } Expression* TranslateToFuzzReader::makeSelect(Type type) { Type subType1 = getSubType(type); Type subType2 = getSubType(type); - return buildSelect({make(Type::i32), make(subType1), make(subType2)}, type); + return buildSelect({make(Type::i32), make(subType1), make(subType2)}); } Expression* TranslateToFuzzReader::makeSwitch(Type type) { |