summaryrefslogtreecommitdiff
path: root/src/binary-reader-nop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader-nop.h')
-rw-r--r--src/binary-reader-nop.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/binary-reader-nop.h b/src/binary-reader-nop.h
index 059743dd..5cb926a9 100644
--- a/src/binary-reader-nop.h
+++ b/src/binary-reader-nop.h
@@ -154,7 +154,9 @@ class BinaryReaderNop : public BinaryReaderDelegate {
/* Code section */
Result BeginCodeSection(Offset size) override { return Result::Ok; }
Result OnFunctionBodyCount(Index count) override { return Result::Ok; }
- Result BeginFunctionBody(Index index) override { return Result::Ok; }
+ Result BeginFunctionBody(Index index, Offset size) override {
+ return Result::Ok;
+ }
Result OnLocalDeclCount(Index count) override { return Result::Ok; }
Result OnLocalDecl(Index decl_index, Index count, Type type) override {
return Result::Ok;