summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/Inliner.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-23 21:16:07 +0000
committerChris Lattner <sabre@nondot.org>2010-04-23 21:16:07 +0000
commit5d7da4321521850e5e35a77b7af0b168d8121633 (patch)
tree37dd537934789e7aeee693ee77006fe5d8320cb8 /lib/Transforms/IPO/Inliner.cpp
parent6e8fd9060253a29483ce628f6831786053516260 (diff)
downloadllvm-5d7da4321521850e5e35a77b7af0b168d8121633.tar.gz
llvm-5d7da4321521850e5e35a77b7af0b168d8121633.tar.bz2
llvm-5d7da4321521850e5e35a77b7af0b168d8121633.tar.xz
enable my inliner change: add newly devirtualized call sites to
the worklist, making them inline candidates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/Inliner.cpp')
-rw-r--r--lib/Transforms/IPO/Inliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp
index 1ac609ddf2..06ccf64070 100644
--- a/lib/Transforms/IPO/Inliner.cpp
+++ b/lib/Transforms/IPO/Inliner.cpp
@@ -390,7 +390,7 @@ 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
+#if 1
for (unsigned i = 0, e = InlineInfo.DevirtualizedCalls.size();
i != e; ++i) {
Value *Ptr = InlineInfo.DevirtualizedCalls[i];