mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 09:21:13 +00:00
Copy-and-paste-o.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c1eaa0dc2
commit
d208fd7bdb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user