WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(BlockOpcode opcode, WasmNodeArg arg) { var blockNode = new BlockNode(opcode.Signature); arg.Push(blockNode); arg.PushBlock(blockNode.Nodes); return(null); }
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(BlockOpcode opcode, WasmMSILArg arg) { return(null); }
public WasmOpcodeExecutor Visit(BlockOpcode opcode, WasmFunctionState state) { state.PushLabel(opcode.Signature); return(this); }