MCPcopy Create free account
hub / github.com/WebAssembly/wabt / BeginFunctionBody

Method BeginFunctionBody

src/binary-reader-ir.cc:818–822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816}
817
818Result BinaryReaderIR::BeginFunctionBody(Index index, Offset size) {
819 current_func_ = module_->funcs[index];
820 current_func_->loc = GetLocation();
821 return PushLabel(LabelType::Func, &current_func_->exprs);
822}
823
824Result BinaryReaderIR::OnLocalDecl(Index decl_index, Index count, Type type) {
825 current_func_->local_types.AppendDecl(type, count);

Callers 1

CheckModuleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected