Skip to content

Commit 774808c

Browse files
committed
---
yaml --- r: 61431 b: refs/heads/try c: a3d31f4 h: refs/heads/master i: 61429: 9a9d9cb 61427: fa08985 61423: 9506b71 v: v3
1 parent 293ad53 commit 774808c

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5-
refs/heads/try: 8badea49b0291d5ea0979a8edfb1ebb4f01b043d
5+
refs/heads/try: a3d31f4b803780452d46c600443f5bbaabec2fda
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/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/try/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/try/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)