[vmkit-commits] [vmkit] r78112 - /vmkit/trunk/lib/Mvm/Compiler/JIT.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Tue Aug 4 15:21:54 PDT 2009


Author: geoffray
Date: Tue Aug  4 17:20:39 2009
New Revision: 78112

URL: http://llvm.org/viewvc/llvm-project?rev=78112&view=rev
Log:
Call llvm_multithtreaded function when intializing LLVM.


Modified:
    vmkit/trunk/lib/Mvm/Compiler/JIT.cpp

Modified: vmkit/trunk/lib/Mvm/Compiler/JIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/Compiler/JIT.cpp?rev=78112&r1=78111&r2=78112&view=diff

==============================================================================
--- vmkit/trunk/lib/Mvm/Compiler/JIT.cpp (original)
+++ vmkit/trunk/lib/Mvm/Compiler/JIT.cpp Tue Aug  4 17:20:39 2009
@@ -48,6 +48,9 @@
 
 void MvmModule::initialise(CodeGenOpt::Level level, Module* M,
                            TargetMachine* T) {
+  
+  llvm_start_multithreaded();
+  
   llvm::NoFramePointerElim = true;
   llvm::DisablePrettyStackTrace = true;
 #if DWARF_EXCEPTIONS





More information about the vmkit-commits mailing list