[llvm-commits] [llvm] r102296 - /llvm/trunk/lib/Transforms/IPO/Inliner.cpp

Chris Lattner sabre at nondot.org
Sat Apr 24 21:43:02 PDT 2010


Author: lattner
Date: Sat Apr 24 23:43:02 2010
New Revision: 102296

URL: http://llvm.org/viewvc/llvm-project?rev=102296&view=rev
Log:
remove #if 1's.

Modified:
    llvm/trunk/lib/Transforms/IPO/Inliner.cpp

Modified: llvm/trunk/lib/Transforms/IPO/Inliner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Inliner.cpp?rev=102296&r1=102295&r2=102296&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Inliner.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Inliner.cpp Sat Apr 24 23:43:02 2010
@@ -390,13 +390,11 @@
 
         // If inlining this function devirtualized any call sites, throw them
         // onto our worklist to process.  They are useful inline candidates.
-#if 1
         for (unsigned i = 0, e = InlineInfo.DevirtualizedCalls.size();
              i != e; ++i) {
           Value *Ptr = InlineInfo.DevirtualizedCalls[i];
           CallSites.push_back(CallSite(Ptr));
         }
-#endif
         
         // Update the cached cost info with the inlined call.
         growCachedCostInfo(Caller, Callee);





More information about the llvm-commits mailing list