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