コード例 #1
0
        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);
        }
コード例 #2
0
        public WasmOpcodeExecutor Visit(I64StoreOpcode opcode, WasmFunctionState state)
        {
            var val = state.PopUI64();
            var adr = state.PopUI32();

            state.Memory.WriteUInt64(adr, opcode.Immediate, val);
            return(this);
        }
コード例 #3
0
 WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I64StoreOpcode opcode, WasmMSILArg arg)
 {
     return(null);
 }