mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-16 15:08:59 +00:00
remove #if 1's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102296 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39ed6789c5
commit
d89673c028
@ -390,13 +390,11 @@ bool Inliner::runOnSCC(CallGraphSCC &SCC) {
|
|||||||
|
|
||||||
// If inlining this function devirtualized any call sites, throw them
|
// If inlining this function devirtualized any call sites, throw them
|
||||||
// onto our worklist to process. They are useful inline candidates.
|
// onto our worklist to process. They are useful inline candidates.
|
||||||
#if 1
|
|
||||||
for (unsigned i = 0, e = InlineInfo.DevirtualizedCalls.size();
|
for (unsigned i = 0, e = InlineInfo.DevirtualizedCalls.size();
|
||||||
i != e; ++i) {
|
i != e; ++i) {
|
||||||
Value *Ptr = InlineInfo.DevirtualizedCalls[i];
|
Value *Ptr = InlineInfo.DevirtualizedCalls[i];
|
||||||
CallSites.push_back(CallSite(Ptr));
|
CallSites.push_back(CallSite(Ptr));
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
// Update the cached cost info with the inlined call.
|
// Update the cached cost info with the inlined call.
|
||||||
growCachedCostInfo(Caller, Callee);
|
growCachedCostInfo(Caller, Callee);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user