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