summaryrefslogtreecommitdiff
path: root/include/wabt/binary-reader-nop.h
diff options
context:
space:
mode:
authorSoni L. <EnderMoneyMod@gmail.com>2024-10-07 20:03:35 -0300
committerGitHub <noreply@github.com>2024-10-07 16:03:35 -0700
commite1d84ff0466c269a457056a0420d1b6cc5cf3815 (patch)
tree4a909c0048a3a51c2cfba6084ba968913529e395 /include/wabt/binary-reader-nop.h
parent7d229cf0965a41fe22338f08895231190573ca24 (diff)
downloadwabt-e1d84ff0466c269a457056a0420d1b6cc5cf3815.tar.gz
wabt-e1d84ff0466c269a457056a0420d1b6cc5cf3815.tar.bz2
wabt-e1d84ff0466c269a457056a0420d1b6cc5cf3815.zip
wasm-interp: Fix catch handlers correctly (#2483)
local decl count != local count
Diffstat (limited to 'include/wabt/binary-reader-nop.h')
-rw-r--r--include/wabt/binary-reader-nop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wabt/binary-reader-nop.h b/include/wabt/binary-reader-nop.h
index ffa3a4b7..c7ec78b1 100644
--- a/include/wabt/binary-reader-nop.h
+++ b/include/wabt/binary-reader-nop.h
@@ -172,6 +172,7 @@ class BinaryReaderNop : public BinaryReaderDelegate {
Result OnLocalDecl(Index decl_index, Index count, Type type) override {
return Result::Ok;
}
+ Result EndLocalDecls() override { return Result::Ok; }
/* Function expressions; called between BeginFunctionBody and
EndFunctionBody */