summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Core.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-19 18:18:23 +0000
committerZachary Turner <zturner@google.com>2014-06-19 18:18:23 +0000
commit9c9710eaf4c1f01b8b518bdba89aba059ab14175 (patch)
tree62137c6de6dbe0a54e3f8d6aa80d8392b51ad5c7 /llvm/lib/IR/Core.cpp
parent778268df57bd65ba7befa2229a91e2ae56d07b3a (diff)
downloadbcm5719-llvm-9c9710eaf4c1f01b8b518bdba89aba059ab14175.tar.gz
bcm5719-llvm-9c9710eaf4c1f01b8b518bdba89aba059ab14175.zip
Remove support for LLVM runtime multi-threading.
After a number of previous small iterations, the functions llvm_start_multithreaded() and llvm_stop_multithreaded() have been reduced essentially to no-ops. This change removes them entirely. Reviewed by: rnk, dblaikie Differential Revision: http://reviews.llvm.org/D4216 llvm-svn: 211287
Diffstat (limited to 'llvm/lib/IR/Core.cpp')
-rw-r--r--llvm/lib/IR/Core.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/Core.cpp b/llvm/lib/IR/Core.cpp
index 197b6cb9054..68b9baa2baa 100644
--- a/llvm/lib/IR/Core.cpp
+++ b/llvm/lib/IR/Core.cpp
@@ -2702,11 +2702,10 @@ void LLVMDisposePassManager(LLVMPassManagerRef PM) {
/*===-- Threading ------------------------------------------------------===*/
LLVMBool LLVMStartMultithreaded() {
- return llvm_start_multithreaded();
+ return LLVMIsMultithreaded();
}
void LLVMStopMultithreaded() {
- llvm_stop_multithreaded();
}
LLVMBool LLVMIsMultithreaded() {
OpenPOWER on IntegriCloud