summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Threading.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-05-14 23:44:21 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-05-14 23:44:21 +0000
commit0fb24887026f9314a49f1ebd6ff6ed5352279913 (patch)
treee80df19c6a511d8e00d1f669b332a6ac2e8227b5 /llvm/lib/Support/Threading.cpp
parent0b89ade3411e74c30de7a7cab92d417415ff6db6 (diff)
downloadbcm5719-llvm-0fb24887026f9314a49f1ebd6ff6ed5352279913.tar.gz
bcm5719-llvm-0fb24887026f9314a49f1ebd6ff6ed5352279913.zip
Revert "Revert "Revert 220932.": "Removing the static initializer in ManagedStatic.cpp by using llvm_call_once to initialize the ManagedStatic mutex""
This reverts commit r269577. Broke NetBSD, waiting for Kamil to investigate From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269584
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
-rw-r--r--llvm/lib/Support/Threading.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Support/Threading.cpp b/llvm/lib/Support/Threading.cpp
index 59b937d9842..ca7f3f64aa3 100644
--- a/llvm/lib/Support/Threading.cpp
+++ b/llvm/lib/Support/Threading.cpp
@@ -110,10 +110,3 @@ void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData,
}
#endif
-
-#if defined(LLVM_ON_UNIX)
-#include "Unix/Threading.inc"
-#else
-#include "Windows/Threading.inc"
-#endif
-
OpenPOWER on IntegriCloud