WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(F64NegOpcode opcode, WasmNodeArg arg) { var expr = arg.Pop(); arg.Push(new F64NegNode(expr)); return(null); }
public WasmOpcodeExecutor Visit(F64NegOpcode opcode, WasmFunctionState state) { var value = state.PopF64(); state.PushF64(-value); return(this); }