diff options
author | Tom Stellard <[email protected]> | 2013-04-30 07:38:03 -0700 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-05-06 09:06:03 -0700 |
commit | 55eb8eaaa8bf8696d56effce6ed87f03bea779e0 (patch) | |
tree | 75ecb6e94cfeb4c0898d9a3bf2c76fff3beb69c0 /src/gallium/drivers/radeon | |
parent | 7cc98ea88f5ec24369ba8123007637e47f093726 (diff) |
gallivm: Move LLVMStartMultithreaded() static initializer into gallivm
This does not solve all of the problems with using LLVM in a
multithreaded enivronment, but it should help in some cases.
Reviewed-by: [email protected]
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm_emit.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.cpp b/src/gallium/drivers/radeon/radeon_llvm_emit.cpp index fb974f91ac2..10127151b10 100644 --- a/src/gallium/drivers/radeon/radeon_llvm_emit.cpp +++ b/src/gallium/drivers/radeon/radeon_llvm_emit.cpp @@ -58,20 +58,6 @@ using namespace llvm; -namespace { - -class LLVMEnsureMultithreaded { -public: - LLVMEnsureMultithreaded() - { - llvm_start_multithreaded(); - } -}; - -static LLVMEnsureMultithreaded lLVMEnsureMultithreaded; - -} - /** * Set the shader type we want to compile * |