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:
Owen Anderson 2009-05-20 18:47:53 +00:00
parent 3c1eaa0dc2
commit d208fd7bdb

View File

@ -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;