public WasmOpcodeExecutor Visit(I64MulOpcode opcode, WasmFunctionState state) { var right = state.PopUI64(); var left = state.PopUI64(); state.PushUI64(left * right); return(this); }
WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I64MulOpcode opcode, WasmNodeArg arg) { var right = arg.Pop(); var left = arg.Pop(); arg.Push(new I64MulNode(left, right)); return(null); }