Example #1
0
 protected MemoryStoreNode(WasmMemoryImmediate immediate, ExecutableNode address, ExecutableNode value) : base(immediate, address)
 {
     if (value.ResultType != ValueType)
     {
         throw new WasmNodeException($"expected {ValueType} value");
     }
     Value = value;
 }
        protected MemoryAccessNode(WasmMemoryImmediate immediate, ExecutableNode address)
        {
            if (address.ResultType != WasmType.I32)
            {
                throw new WasmNodeException($"expected i32 address");
            }

            Immediate = immediate;
            Address   = address;
        }
Example #3
0
 public I32Load8UOpcode(WasmMemoryImmediate immediate) : base(immediate)
 {
 }
Example #4
0
 public I32Store16Node(WasmMemoryImmediate immediate, ExecutableNode address, ExecutableNode value) : base(immediate, address, value)
 {
 }
Example #5
0
 public I32Store8Opcode(WasmMemoryImmediate immediate) : base(immediate)
 {
 }
Example #6
0
 public float ReadFloat32(uint address, WasmMemoryImmediate immediate) => throw new NotImplementedException();
Example #7
0
 public F64StoreOpcode(WasmMemoryImmediate immediate) : base(immediate)
 {
 }
Example #8
0
 public I64LoadNode(WasmMemoryImmediate immediate, ExecutableNode address) : base(immediate, address)
 {
 }
Example #9
0
 public ushort ReadUInt16(uint address, WasmMemoryImmediate immediate) => throw new NotImplementedException();
Example #10
0
 public sbyte ReadSInt8(uint address, WasmMemoryImmediate immediate) => throw new NotImplementedException();
Example #11
0
 public void WriteFloat64(uint address, WasmMemoryImmediate immediate, double value) => throw new NotImplementedException();
Example #12
0
 public F64LoadOpcode(WasmMemoryImmediate immediate) : base(immediate)
 {
 }
Example #13
0
 protected MemoryLoadNode(WasmMemoryImmediate immediate, ExecutableNode address) : base(immediate, address)
 {
 }
 protected MemoryAccessOpcode(WasmMemoryImmediate immediate)
 {
     Immediate = immediate;
 }
Example #15
0
 public ulong ReadUInt64(uint address, WasmMemoryImmediate immediate) => throw new NotImplementedException();
Example #16
0
 public I64Store16Opcode(WasmMemoryImmediate immediate) : base(immediate)
 {
 }
Example #17
0
 public void WriteUInt64(uint address, WasmMemoryImmediate immediate, ulong value) => throw new NotImplementedException();
Example #18
0
 public I64Load16UOpcode(WasmMemoryImmediate immediate) : base(immediate)
 {
 }
 protected MemoryStoreOpcode(WasmMemoryImmediate immediate) : base(immediate)
 {
 }