Skip to content

Commit c29e2b6

Browse files
committed
---
yaml --- r: 59275 b: refs/heads/incoming c: a3d31f4 h: refs/heads/master i: 59273: 64919ef 59271: 16648a8 v: v3
1 parent a7e703f commit c29e2b6

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: c50a9d5b664478e533ba1d1d353213d70c8ad589
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: 8badea49b0291d5ea0979a8edfb1ebb4f01b043d
9+
refs/heads/incoming: a3d31f4b803780452d46c600443f5bbaabec2fda
1010
refs/heads/dist-snap: 00dbbd01c2aee72982b3e0f9511ae1d4428c3ba9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/librustc/lib/llvm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,6 +1566,7 @@ pub mod llvm {
15661566
/* Atomic Operations */
15671567
pub unsafe fn LLVMBuildAtomicLoad(B: BuilderRef,
15681568
PointerVal: ValueRef,
1569+
Name: *c_char,
15691570
Order: AtomicOrdering)
15701571
-> ValueRef;
15711572

branches/incoming/src/librustc/middle/trans/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ pub fn AtomicLoad(cx: block, PointerVal: ValueRef, order: AtomicOrdering) -> Val
544544
return llvm::LLVMGetUndef(ccx.int_type);
545545
}
546546
count_insn(cx, "load.atomic");
547-
return llvm::LLVMBuildAtomicLoad(B(cx), PointerVal, order);
547+
return llvm::LLVMBuildAtomicLoad(B(cx), PointerVal, noname(), order);
548548
}
549549
}
550550

branches/incoming/src/rustllvm/RustWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ extern "C" LLVMValueRef LLVMBuildAtomicLoad(LLVMBuilderRef B,
553553
li->setVolatile(true);
554554
li->setAtomic(order);
555555
li->setAlignment(sizeof(intptr_t));
556-
return wrap(unwrap(B)->Insert(li));
556+
return wrap(unwrap(B)->Insert(li, Name));
557557
}
558558

559559
extern "C" LLVMValueRef LLVMBuildAtomicStore(LLVMBuilderRef B,

0 commit comments

Comments
 (0)