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:
Michael Gottesman 2013-01-12 02:57:16 +00:00
parent 6f4ccaf287
commit 0d3582b1d1

View File

@ -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;
}