summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-18 04:44:46 +0000
committerOwen Anderson <resistor@mac.com>2009-06-18 04:44:46 +0000
commit6eb4a73633cad8ff4472ce43d26e68a28d8f4196 (patch)
treeddd8b455e727348695860082310c5cc32cdcb107 /llvm/lib/System
parentbb4a7979b5e0380be87491b6651694b837f6c84f (diff)
downloadbcm5719-llvm-6eb4a73633cad8ff4472ce43d26e68a28d8f4196.tar.gz
bcm5719-llvm-6eb4a73633cad8ff4472ce43d26e68a28d8f4196.zip
Fix build when disable thread support.
Patch by Howard Su. llvm-svn: 73680
Diffstat (limited to 'llvm/lib/System')
-rw-r--r--llvm/lib/System/RWMutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/RWMutex.cpp b/llvm/lib/System/RWMutex.cpp
index 6cf2076cb07..2b6cf6c2148 100644
--- a/llvm/lib/System/RWMutex.cpp
+++ b/llvm/lib/System/RWMutex.cpp
@@ -23,7 +23,7 @@
// Define all methods as no-ops if threading is explicitly disabled
namespace llvm {
using namespace sys;
-RWMutex::RWMutex( bool recursive) { }
+RWMutex::RWMutex() { }
RWMutex::~RWMutex() { }
bool RWMutex::reader_acquire() { return true; }
bool RWMutex::reader_release() { return true; }
OpenPOWER on IntegriCloud