mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
remove a few DOUTs here and there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79832 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -105,12 +105,12 @@ bool SRETPromotion::PromoteReturn(CallGraphNode *CGN) {
|
||||
|
||||
// Check if it is ok to perform this promotion.
|
||||
if (isSafeToUpdateAllCallers(F) == false) {
|
||||
DOUT << "SretPromotion: Not all callers can be updated\n";
|
||||
DEBUG(errs() << "SretPromotion: Not all callers can be updated\n");
|
||||
NumRejectedSRETUses++;
|
||||
return false;
|
||||
}
|
||||
|
||||
DOUT << "SretPromotion: sret argument will be promoted\n";
|
||||
DEBUG(errs() << "SretPromotion: sret argument will be promoted\n");
|
||||
NumSRET++;
|
||||
// [1] Replace use of sret parameter
|
||||
AllocaInst *TheAlloca = new AllocaInst(STy, NULL, "mrv",
|
||||
|
Reference in New Issue
Block a user