WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I32GesOpcode opcode, WasmNodeArg arg) { var right = arg.Pop(); var left = arg.Pop(); arg.Push(new I32GesNode(left, right)); return(null); }
public WasmOpcodeExecutor Visit(I32GesOpcode opcode, WasmFunctionState state) { var right = state.PopSI32(); var left = state.PopSI32(); state.PushBool(left >= right); return(this); }