mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
[ObjCARC Debug Message] - Added debug message when we add a tail keyword to a function which can never be passed stack args.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
795612702e
commit
817d4e942b
@ -2443,6 +2443,9 @@ void ObjCARCOpt::OptimizeIndividualCalls(Function &F) {
|
||||
// a tail keyword.
|
||||
if (IsAlwaysTail(Class)) {
|
||||
Changed = true;
|
||||
DEBUG(dbgs() << "ObjCARCOpt::OptimizeIndividualCalls: Adding tail keyword"
|
||||
" to function since it can never be passed stack args: " << *Inst <<
|
||||
"\n");
|
||||
cast<CallInst>(Inst)->setTailCall();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user