aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO/Inliner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/IPO/Inliner.cpp')
-rw-r--r--lib/Transforms/IPO/Inliner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp
index 1de7b0753d..322b469875 100644
--- a/lib/Transforms/IPO/Inliner.cpp
+++ b/lib/Transforms/IPO/Inliner.cpp
@@ -390,9 +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 0
for (unsigned i = 0, e = InlineInfo.DevirtualizedCalls.size();
i != e; ++i)
CallSites.push_back(CallSite(InlineInfo.DevirtualizedCalls[i]));
+#endif
// Update the cached cost info with the inlined call.
growCachedCostInfo(Caller, Callee);