aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-25 04:43:02 +0000
committerChris Lattner <sabre@nondot.org>2010-04-25 04:43:02 +0000
commitd89673c028a5091ffe68bd2e7e818e6e906b8f89 (patch)
treef0798b11de055fcead50fc134529900816bc7d08
parent39ed6789c537ab6ec3d9b5944761e87c215f4fab (diff)
remove #if 1's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102296 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/IPO/Inliner.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp
index 06ccf64070..33c7d0172a 100644
--- a/lib/Transforms/IPO/Inliner.cpp
+++ b/lib/Transforms/IPO/Inliner.cpp
@@ -390,13 +390,11 @@ bool Inliner::runOnSCC(CallGraphSCC &SCC) {
// 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);