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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user