WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(IfOpcode opcode, WasmNodeArg arg) { var condition = arg.Pop(); var ifNode = new IfNode(condition, opcode.Signature); var thenBlock = new NodesList(opcode.Signature); ifNode.Then = thenBlock; arg.Push(ifNode); arg.PushBlock(thenBlock); return(null); }
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(IfOpcode opcode, WasmMSILArg arg) => throw new NotImplementedException();
public WasmOpcodeExecutor Visit(IfOpcode opcode, WasmFunctionState state) => throw new System.NotImplementedException();