summaryrefslogtreecommitdiff
path: root/src/binary-reader-nop.h
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2020-07-15 16:39:52 -0700
committerGitHub <noreply@github.com>2020-07-15 16:39:52 -0700
commitbd52b8845aa8dcbecc8fc14d77a2bd4e64ad6e75 (patch)
tree1cff008fdeeff4f4a2a7aa703a19d0910fa1b72b /src/binary-reader-nop.h
parent3041d94d21c82c5a31d1d003bfacbcf2fc28b573 (diff)
downloadwabt-bd52b8845aa8dcbecc8fc14d77a2bd4e64ad6e75.tar.gz
wabt-bd52b8845aa8dcbecc8fc14d77a2bd4e64ad6e75.tar.bz2
wabt-bd52b8845aa8dcbecc8fc14d77a2bd4e64ad6e75.zip
Remove ref.is_null type parameter (#1474)
See https://github.com/WebAssembly/reference-types/issues/99. This change also updates the testsuite, so the spec tests pass too. In addition, the behavior of `br_table` is no longer different from MVP, and has a text to confirm this. That is now fixed in `type-checker.cc` too.
Diffstat (limited to 'src/binary-reader-nop.h')
-rw-r--r--src/binary-reader-nop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binary-reader-nop.h b/src/binary-reader-nop.h
index 1159476a..a00d6b05 100644
--- a/src/binary-reader-nop.h
+++ b/src/binary-reader-nop.h
@@ -278,7 +278,7 @@ class BinaryReaderNop : public BinaryReaderDelegate {
Result OnTableFillExpr(Index table_index) override { return Result::Ok; }
Result OnRefFuncExpr(Index func_index) override { return Result::Ok; }
Result OnRefNullExpr(Type type) override { return Result::Ok; }
- Result OnRefIsNullExpr(Type type) override { return Result::Ok; }
+ Result OnRefIsNullExpr() override { return Result::Ok; }
Result OnNopExpr() override { return Result::Ok; }
Result OnRethrowExpr() override { return Result::Ok; }
Result OnReturnCallExpr(Index sig_index) override { return Result::Ok; }