[llvm-commits] [llvm] r155792 - /llvm/trunk/tools/lli/lli.cpp

Eli Bendersky eli.bendersky at intel.com
Sun Apr 29 04:14:59 PDT 2012


Author: eliben
Date: Sun Apr 29 06:14:59 2012
New Revision: 155792

URL: http://llvm.org/viewvc/llvm-project?rev=155792&view=rev
Log:
Remove redundant line (the memory manager is set above to the same object
if !ForceInterpreteri). It has no effect (apart from a memory leak...)



Modified:
    llvm/trunk/tools/lli/lli.cpp

Modified: llvm/trunk/tools/lli/lli.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lli/lli.cpp?rev=155792&r1=155791&r2=155792&view=diff
==============================================================================
--- llvm/trunk/tools/lli/lli.cpp (original)
+++ llvm/trunk/tools/lli/lli.cpp Sun Apr 29 06:14:59 2012
@@ -235,7 +235,6 @@
   // Enable MCJIT if desired.
   if (UseMCJIT && !ForceInterpreter) {
     builder.setUseMCJIT(true);
-    builder.setJITMemoryManager(JITMemoryManager::CreateDefaultMemManager());
   }
 
   CodeGenOpt::Level OLvl = CodeGenOpt::Default;





More information about the llvm-commits mailing list