summaryrefslogtreecommitdiff
path: root/src/binary-reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r--src/binary-reader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h
index e666089b..743103e9 100644
--- a/src/binary-reader.h
+++ b/src/binary-reader.h
@@ -168,7 +168,7 @@ class BinaryReaderDelegate {
/* Code section */
virtual Result BeginCodeSection(Offset size) = 0;
virtual Result OnFunctionBodyCount(Index count) = 0;
- virtual Result BeginFunctionBody(Index index) = 0;
+ 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;