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