Exemplo n.º 1
0
        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);
 }
Exemplo n.º 3
0
 public WasmOpcodeExecutor Visit(BlockOpcode opcode, WasmFunctionState state)
 {
     state.PushLabel(opcode.Signature);
     return(this);
 }