Pass type when creating atomic load
Instead of determining it from the pointer type, explicitly pass the type to load.
This commit is contained in:
parent
619c27a539
commit
33e9a6b565
5 changed files with 17 additions and 10 deletions
|
@ -1631,6 +1631,7 @@ extern "C" {
|
|||
// Atomic Operations
|
||||
pub fn LLVMRustBuildAtomicLoad(
|
||||
B: &Builder<'a>,
|
||||
ElementType: &'a Type,
|
||||
PointerVal: &'a Value,
|
||||
Name: *const c_char,
|
||||
Order: AtomicOrdering,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue