diff options
Diffstat (limited to 'src/binary-reader-ir.cc')
-rw-r--r-- | src/binary-reader-ir.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary-reader-ir.cc b/src/binary-reader-ir.cc index 24828f2e..dd4ad01a 100644 --- a/src/binary-reader-ir.cc +++ b/src/binary-reader-ir.cc @@ -112,7 +112,7 @@ class BinaryReaderIR : public BinaryReaderNop { Result OnStartFunction(Index func_index) override; Result OnFunctionBodyCount(Index count) override; - Result BeginFunctionBody(Index index) override; + Result BeginFunctionBody(Index index, Offset size) override; Result OnLocalDecl(Index decl_index, Index count, Type type) override; Result OnAtomicLoadExpr(Opcode opcode, @@ -574,7 +574,7 @@ Result BinaryReaderIR::OnFunctionBodyCount(Index count) { return Result::Ok; } -Result BinaryReaderIR::BeginFunctionBody(Index index) { +Result BinaryReaderIR::BeginFunctionBody(Index index, Offset size) { current_func_ = module_->funcs[index]; PushLabel(LabelType::Func, ¤t_func_->exprs); return Result::Ok; |