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 | e07ff8e6eb0032010fa0aef6a7a3a43a099e6553 (patch) | |
tree | 57d6ca3b985610f074061c11af400da35db4ead1 /include/llvm/System | |
parent | 36b3b33bfac1367ca48e6c5c0449e4987a7317ca (diff) | |
download | external_llvm-e07ff8e6eb0032010fa0aef6a7a3a43a099e6553.zip external_llvm-e07ff8e6eb0032010fa0aef6a7a3a43a099e6553.tar.gz external_llvm-e07ff8e6eb0032010fa0aef6a7a3a43a099e6553.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
Diffstat (limited to 'include/llvm/System')
-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; } |