diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-06-27 15:13:01 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-06-27 15:13:01 +0000 |
commit | 39ea80cc564b22f46a2ae85450fdde35e2a59e89 (patch) | |
tree | 01f3dbb8908f241972c908b4015a80a8c64d6f4a /lib/IR | |
parent | 1edaab996f5390ab596167e527001dad4e2d3439 (diff) | |
download | llvm-39ea80cc564b22f46a2ae85450fdde35e2a59e89.tar.gz llvm-39ea80cc564b22f46a2ae85450fdde35e2a59e89.tar.bz2 llvm-39ea80cc564b22f46a2ae85450fdde35e2a59e89.tar.xz |
Re-apply r211287: Remove support for LLVM runtime multi-threading.
I'll fix the problems in libclang and other projects in ways that don't
require <mutex> until we sort out the cygwin situation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r-- | lib/IR/Core.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/IR/Core.cpp b/lib/IR/Core.cpp index 2c49d5b949..0cb781c2c6 100644 --- a/lib/IR/Core.cpp +++ b/lib/IR/Core.cpp @@ -2708,11 +2708,10 @@ void LLVMDisposePassManager(LLVMPassManagerRef PM) { /*===-- Threading ------------------------------------------------------===*/ LLVMBool LLVMStartMultithreaded() { - return llvm_start_multithreaded(); + return LLVMIsMultithreaded(); } void LLVMStopMultithreaded() { - llvm_stop_multithreaded(); } LLVMBool LLVMIsMultithreaded() { |