mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Fixed a few debug messages in ObjCARC and added one.
llvm-svn: 172298
This commit is contained in:
parent
6cd3b6cddc
commit
a00a81d4cc
@ -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