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 | c4baa9b64d9e1a14a53bc736f8cb7abbd5f0c620 (patch) | |
| tree | 140958524503c4ae71aa083680a9dad05405478c | |
| parent | d0a363e03b31472dab26c1d545f42708d726690e (diff) | |
| download | bcm5719-llvm-c4baa9b64d9e1a14a53bc736f8cb7abbd5f0c620.tar.gz bcm5719-llvm-c4baa9b64d9e1a14a53bc736f8cb7abbd5f0c620.zip | |
Fix a major typo.
Nicolas, this is probably the cause of the failures you were seeing.
llvm-svn: 73770
| -rw-r--r-- | llvm/include/llvm/System/Mutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/System/Mutex.h b/llvm/include/llvm/System/Mutex.h index 2a70ba013a0..0003ef881c8 100644 --- a/llvm/include/llvm/System/Mutex.h +++ b/llvm/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; } |

