projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1eaa0
)
Copy-and-paste-o.
author
Owen Anderson
<resistor@mac.com>
Wed, 20 May 2009 18:47:53 +0000
(18:47 +0000)
committer
Owen Anderson
<resistor@mac.com>
Wed, 20 May 2009 18:47:53 +0000
(18:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72177
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Atomic.cpp
patch
|
blob
|
history
diff --git
a/lib/System/Atomic.cpp
b/lib/System/Atomic.cpp
index fa8a937c07fc867cae4216d224a44e4276fd3a79..e720385e5f0bfe2978717972bd32ebe2e2d011d9 100644
(file)
--- a/
lib/System/Atomic.cpp
+++ b/
lib/System/Atomic.cpp
@@
-38,7
+38,7
@@
sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr,
sys::cas_flag new_value,
sys::cas_flag old_value) {
#if LLVM_MULTITHREADED==0
-
T
result = *dest;
+
sys::cas_flag
result = *dest;
if (result == c)
*dest = exc;
return result;