mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
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
This commit is contained in:
@@ -390,7 +390,7 @@ 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 0
|
#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];
|
||||||
|
Reference in New Issue
Block a user