diff options
Diffstat (limited to 'src/interp/binary-reader-interp.cc')
-rw-r--r-- | src/interp/binary-reader-interp.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/binary-reader-interp.cc b/src/interp/binary-reader-interp.cc index 20a8368c..8b44cdaf 100644 --- a/src/interp/binary-reader-interp.cc +++ b/src/interp/binary-reader-interp.cc @@ -192,7 +192,7 @@ class BinaryReaderInterp : public BinaryReaderNop { Result OnMemorySizeExpr() override; Result OnRefFuncExpr(Index func_index) override; Result OnRefNullExpr(Type type) override; - Result OnRefIsNullExpr(Type type) override; + Result OnRefIsNullExpr() override; Result OnNopExpr() override; Result OnReturnExpr() override; Result OnSelectExpr(Type result_type) override; @@ -1240,8 +1240,8 @@ Result BinaryReaderInterp::OnRefNullExpr(Type type) { return Result::Ok; } -Result BinaryReaderInterp::OnRefIsNullExpr(Type type) { - CHECK_RESULT(validator_.OnRefIsNull(loc, type)); +Result BinaryReaderInterp::OnRefIsNullExpr() { + CHECK_RESULT(validator_.OnRefIsNull(loc)); istream_.Emit(Opcode::RefIsNull); return Result::Ok; } |