-
Notifications
You must be signed in to change notification settings - Fork 10
/
Store.cs
29 lines (25 loc) · 912 Bytes
/
Store.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// -----------------------------------------------------------------------
// <copyright file="Store.cs" company="Ubiquity.NET Contributors">
// Copyright (c) Ubiquity.NET Contributors. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using Ubiquity.NET.Llvm.Interop;
using static Ubiquity.NET.Llvm.Interop.NativeMethods;
namespace Ubiquity.NET.Llvm.Instructions
{
/// <summary>Instruction to store a value to memory</summary>
public class Store
: Instruction
{
/// <summary>Gets or sets a value indicating whether the store is volatile</summary>
public bool IsVolatile
{
get => LLVMGetVolatile( ValueHandle );
set => LLVMSetVolatile( ValueHandle, value );
}
internal Store( LLVMValueRef valueRef )
: base( valueRef )
{
}
}
}