summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-10 23:15:43 +0000
committerZachary Turner <zturner@google.com>2014-06-10 23:15:43 +0000
commit6610b99cb555abf493ba748c9b96126f10ee5790 (patch)
tree43e281f749506bb83f9e103cd41833d6bf7a904b /llvm/lib/IR
parent712d1557a2befcdc5635fedbb6eb308f8cda2929 (diff)
downloadbcm5719-llvm-6610b99cb555abf493ba748c9b96126f10ee5790.tar.gz
bcm5719-llvm-6610b99cb555abf493ba748c9b96126f10ee5790.zip
Revert "Remove support for runtime multi-threading."
This reverts revision r210600. llvm-svn: 210603
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/Core.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/IR/Core.cpp b/llvm/lib/IR/Core.cpp
index 2bdc92da8fc..f24704c61cd 100644
--- a/llvm/lib/IR/Core.cpp
+++ b/llvm/lib/IR/Core.cpp
@@ -2702,10 +2702,11 @@ void LLVMDisposePassManager(LLVMPassManagerRef PM) {
/*===-- Threading ------------------------------------------------------===*/
LLVMBool LLVMStartMultithreaded() {
- return LLVMIsMultithreaded();
+ return llvm_start_multithreaded();
}
void LLVMStopMultithreaded() {
+ llvm_stop_multithreaded();
}
LLVMBool LLVMIsMultithreaded() {
OpenPOWER on IntegriCloud