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