X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2FThreading.cpp;h=ca7f3f64aa37e37f3b7acbb815d0cba3b99bf4ff;hb=e8757c5dbbb50a0ac106f01360c462a3217ef62f;hp=ff591aaa1d8fb08dc62f991a273df50e077d5718;hpb=aedb5523d288ccc22c2119dc13ed61593bd25ee5;p=oota-llvm.git diff --git a/lib/Support/Threading.cpp b/lib/Support/Threading.cpp index ff591aaa1d8..ca7f3f64aa3 100644 --- a/lib/Support/Threading.cpp +++ b/lib/Support/Threading.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements helper functions for running LLVM in a multi-threaded +// This file defines helper functions for running LLVM in a multi-threaded // environment. // //===----------------------------------------------------------------------===// @@ -20,11 +20,6 @@ using namespace llvm; -sys::Mutex& llvm::llvm_get_global_lock() { - static sys::Mutex global_lock; - return global_lock; -} - bool llvm::llvm_is_multithreaded() { #if LLVM_ENABLE_THREADS != 0 return true;