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