[vmkit-commits] [vmkit] r60245 - /vmkit/trunk/lib/JnJVM/VMCore/JnjvmModuleProvider.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sat Nov 29 04:22:51 CST 2008


Author: geoffray
Date: Sat Nov 29 04:22:49 2008
New Revision: 60245

URL: http://llvm.org/viewvc/llvm-project?rev=60245&view=rev
Log:
No need for instcombine before lower constant calls anymore.


Modified:
    vmkit/trunk/lib/JnJVM/VMCore/JnjvmModuleProvider.cpp

Modified: vmkit/trunk/lib/JnJVM/VMCore/JnjvmModuleProvider.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JnjvmModuleProvider.cpp?rev=60245&r1=60244&r2=60245&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JnjvmModuleProvider.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JnjvmModuleProvider.cpp Sat Nov 29 04:22:49 2008
@@ -180,8 +180,6 @@
     
   JavaNativeFunctionPasses = new llvm::FunctionPassManager(this);
   JavaNativeFunctionPasses->add(new llvm::TargetData(m));
-  // Inst-combine for folding constant pointer classes.
-  JavaNativeFunctionPasses->add(llvm::createInstructionCombiningPass());
   // Lower constant calls to lower things like getClass used
   // on synchronized methods.
   JavaNativeFunctionPasses->add(mvm::createLowerConstantCallsPass());
@@ -189,8 +187,6 @@
   JavaFunctionPasses = new llvm::FunctionPassManager(this);
   JavaFunctionPasses->add(new llvm::TargetData(m));
   Function* func = m->JavaObjectAllocateFunction;
-  // Inst-combine for folding constant pointer classes.
-  JavaFunctionPasses->add(llvm::createInstructionCombiningPass());
   JavaFunctionPasses->add(mvm::createEscapeAnalysisPass(func));
   JavaFunctionPasses->add(mvm::createLowerConstantCallsPass());
   JavaFunctionPasses->add(mvm::createLowerForcedCallsPass());




More information about the vmkit-commits mailing list