[llvm-commits] [llvm] r73680 - /llvm/trunk/lib/System/RWMutex.cpp

Owen Anderson resistor at mac.com
Wed Jun 17 21:44:46 PDT 2009


Author: resistor
Date: Wed Jun 17 23:44:46 2009
New Revision: 73680

URL: http://llvm.org/viewvc/llvm-project?rev=73680&view=rev
Log:
Fix build when disable thread support.

Patch by Howard Su.

Modified:
    llvm/trunk/lib/System/RWMutex.cpp

Modified: llvm/trunk/lib/System/RWMutex.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/RWMutex.cpp?rev=73680&r1=73679&r2=73680&view=diff

==============================================================================
--- llvm/trunk/lib/System/RWMutex.cpp (original)
+++ llvm/trunk/lib/System/RWMutex.cpp Wed Jun 17 23:44:46 2009
@@ -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; }





More information about the llvm-commits mailing list