summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-19 17:08:20 +0000
committerOwen Anderson <resistor@mac.com>2009-06-19 17:08:20 +0000
commitc4baa9b64d9e1a14a53bc736f8cb7abbd5f0c620 (patch)
tree140958524503c4ae71aa083680a9dad05405478c
parentd0a363e03b31472dab26c1d545f42708d726690e (diff)
downloadbcm5719-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.h2
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;
}
OpenPOWER on IntegriCloud