mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 00:17:32 +00:00
Fixed a few debug messages in ObjCARC and added one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172298 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6f4ccaf287
commit
0d3582b1d1
@ -2602,10 +2602,8 @@ void ObjCARCOpt::OptimizeIndividualCalls(Function &F) {
|
||||
}
|
||||
}
|
||||
} while (!Worklist.empty());
|
||||
|
||||
DEBUG(dbgs() << "ObjCARCOpt::OptimizeIndividualCalls: Finished Queue.\n\n");
|
||||
|
||||
}
|
||||
DEBUG(dbgs() << "ObjCARCOpt::OptimizeIndividualCalls: Finished List.\n");
|
||||
}
|
||||
|
||||
/// CheckForCFGHazards - Check for critical edges, loop boundaries, irreducible
|
||||
@ -3869,6 +3867,8 @@ bool ObjCARCOpt::runOnFunction(Function &F) {
|
||||
|
||||
Changed = false;
|
||||
|
||||
DEBUG(dbgs() << "ObjCARCOpt: Visiting Function: " << F.getName() << "\n");
|
||||
|
||||
PA.setAA(&getAnalysis<AliasAnalysis>());
|
||||
|
||||
// This pass performs several distinct transformations. As a compile-time aid
|
||||
@ -3902,6 +3902,8 @@ bool ObjCARCOpt::runOnFunction(Function &F) {
|
||||
(1 << IC_AutoreleaseRV)))
|
||||
OptimizeReturns(F);
|
||||
|
||||
DEBUG(dbgs() << "\n");
|
||||
|
||||
return Changed;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user