git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102296
91177308-0d34-0410-b5e6-
96231b3b80d8
// 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);