WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(F64MaxOpcode opcode, WasmNodeArg arg) { var right = arg.Pop(); var left = arg.Pop(); arg.Push(new F64MaxNode(left, right)); return(null); }
public WasmOpcodeExecutor Visit(F64MaxOpcode opcode, WasmFunctionState state) { var right = state.PopF64(); var left = state.PopF64(); state.PushF64(Math.Max(left, right)); return(this); }