Add line breaks to make the debug output a bit more readable.

llvm-svn: 76284
This commit is contained in:
Eli Friedman 2009-07-18 05:12:58 +00:00
parent a19ee1bb42
commit c0d63a2fec

View File

@ -95,13 +95,13 @@ bool Inliner::shouldInline(CallSite CS) {
if (IC.isAlways()) { if (IC.isAlways()) {
DOUT << " Inlining: cost=always" DOUT << " Inlining: cost=always"
<< ", Call: " << *CS.getInstruction(); << ", Call: " << *CS.getInstruction() << "\n";
return true; return true;
} }
if (IC.isNever()) { if (IC.isNever()) {
DOUT << " NOT Inlining: cost=never" DOUT << " NOT Inlining: cost=never"
<< ", Call: " << *CS.getInstruction(); << ", Call: " << *CS.getInstruction() << "\n";
return false; return false;
} }
@ -116,11 +116,11 @@ bool Inliner::shouldInline(CallSite CS) {
if (Cost >= (int)(CurrentThreshold * FudgeFactor)) { if (Cost >= (int)(CurrentThreshold * FudgeFactor)) {
DOUT << " NOT Inlining: cost=" << Cost DOUT << " NOT Inlining: cost=" << Cost
<< ", Call: " << *CS.getInstruction(); << ", Call: " << *CS.getInstruction() << "\n";
return false; return false;
} else { } else {
DOUT << " Inlining: cost=" << Cost DOUT << " Inlining: cost=" << Cost
<< ", Call: " << *CS.getInstruction(); << ", Call: " << *CS.getInstruction() << "\n";
return true; return true;
} }
} }