WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(F32MulOpcode opcode, WasmNodeArg arg) { var right = arg.Pop(); var left = arg.Pop(); arg.Push(new F32MulNode(left, right)); return(null); }
public WasmOpcodeExecutor Visit(F32MulOpcode opcode, WasmFunctionState state) { var right = state.PopF32(); var left = state.PopF32(); state.PushF32(left * right); return(this); }