diff options
Diffstat (limited to 'include/wabt')
-rw-r--r-- | include/wabt/binary-reader-logging.h | 1 | ||||
-rw-r--r-- | include/wabt/binary-reader-nop.h | 1 | ||||
-rw-r--r-- | include/wabt/binary-reader.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/wabt/binary-reader-logging.h b/include/wabt/binary-reader-logging.h index 4bb16deb..fee211f9 100644 --- a/include/wabt/binary-reader-logging.h +++ b/include/wabt/binary-reader-logging.h @@ -130,6 +130,7 @@ class BinaryReaderLogging : public BinaryReaderDelegate { Result BeginFunctionBody(Index index, Offset size) override; Result OnLocalDeclCount(Index count) override; Result OnLocalDecl(Index decl_index, Index count, Type type) override; + Result EndLocalDecls() override; Result OnOpcode(Opcode opcode) override; Result OnOpcodeBare() override; 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 */ diff --git a/include/wabt/binary-reader.h b/include/wabt/binary-reader.h index de7c4e8f..3d48f574 100644 --- a/include/wabt/binary-reader.h +++ b/include/wabt/binary-reader.h @@ -188,6 +188,7 @@ class BinaryReaderDelegate { virtual Result BeginFunctionBody(Index index, Offset size) = 0; virtual Result OnLocalDeclCount(Index count) = 0; virtual Result OnLocalDecl(Index decl_index, Index count, Type type) = 0; + virtual Result EndLocalDecls() = 0; /* Function expressions; called between BeginFunctionBody and EndFunctionBody */ |