diff options
author | Owen Anderson <resistor@mac.com> | 2009-06-19 17:08:20 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-06-19 17:08:20 +0000 |
commit | 1b19a50cdb292e144ea27bef1cd135efaa6548df (patch) | |
tree | 57d6ca3b985610f074061c11af400da35db4ead1 | |
parent | 79c740ff479dde322aceafe15887b162c19ea195 (diff) | |
download | external_llvm-1b19a50cdb292e144ea27bef1cd135efaa6548df.zip external_llvm-1b19a50cdb292e144ea27bef1cd135efaa6548df.tar.gz external_llvm-1b19a50cdb292e144ea27bef1cd135efaa6548df.tar.bz2 |
Fix a major typo.
Nicolas, this is probably the cause of the failures you were seeing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73770 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/System/Mutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/System/Mutex.h b/include/llvm/System/Mutex.h index 2a70ba0..0003ef8 100644 --- a/include/llvm/System/Mutex.h +++ b/include/llvm/System/Mutex.h @@ -89,7 +89,7 @@ namespace llvm explicit SmartMutex(bool recursive = true) : MutexImpl(recursive) { } bool acquire() { - if (!mt_only && llvm_is_multithreaded()) + if (!mt_only || llvm_is_multithreaded()) return MutexImpl::acquire(); return true; } |