This commit is contained in:
Matthijs Hofstra 2013-05-13 13:33:34 +02:00
parent fa1a172f9c
commit 852af346d3
2 changed files with 3 additions and 3 deletions

View File

@ -19,12 +19,12 @@ pub extern "rust-intrinsic" {
pub fn atomic_cxchg(dst: &mut int, old: int, src: int) -> int;
pub fn atomic_cxchg_acq(dst: &mut int, old: int, src: int) -> int;
pub fn atomic_cxchg_rel(dst: &mut int, old: int, src: int) -> int;
#[cfg(not(stage0))]
pub fn atomic_load(src: &int) -> int;
#[cfg(not(stage0))]
pub fn atomic_load_acq(src: &int) -> int;
#[cfg(not(stage0))]
pub fn atomic_store(dst: &mut int, val: int);
#[cfg(not(stage0))]

View File

@ -1574,7 +1574,7 @@ pub mod llvm {
Ptr: ValueRef,
Order: AtomicOrdering)
-> ValueRef;
pub unsafe fn LLVMBuildAtomicCmpXchg(B: BuilderRef,
LHS: ValueRef,
CMP: ValueRef,