WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I64StoreOpcode opcode, WasmNodeArg arg) { var value = arg.Pop(); var address = arg.Pop(); arg.Push(new I64StoreNode(opcode.Immediate, address, value)); return(null); }
public WasmOpcodeExecutor Visit(I64StoreOpcode opcode, WasmFunctionState state) { var val = state.PopUI64(); var adr = state.PopUI32(); state.Memory.WriteUInt64(adr, opcode.Immediate, val); return(this); }
WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I64StoreOpcode opcode, WasmMSILArg arg) { return(null); }