aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-07-18 05:12:58 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-07-18 05:12:58 +0000
commitef6ab66bcfdbd87f2e25c720e7e1dca7e36cf269 (patch)
treeddd77baf325efee352b5a21d62270e4c35c6cff1 /lib/Transforms
parent438d9900c0170699deaa3124e9b9a7902d7251b6 (diff)
downloadexternal_llvm-ef6ab66bcfdbd87f2e25c720e7e1dca7e36cf269.zip
external_llvm-ef6ab66bcfdbd87f2e25c720e7e1dca7e36cf269.tar.gz
external_llvm-ef6ab66bcfdbd87f2e25c720e7e1dca7e36cf269.tar.bz2
Add line breaks to make the debug output a bit more readable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/IPO/Inliner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp
index b382837..e874a98 100644
--- a/lib/Transforms/IPO/Inliner.cpp
+++ b/lib/Transforms/IPO/Inliner.cpp
@@ -95,13 +95,13 @@ bool Inliner::shouldInline(CallSite CS) {
if (IC.isAlways()) {
DOUT << " Inlining: cost=always"
- << ", Call: " << *CS.getInstruction();
+ << ", Call: " << *CS.getInstruction() << "\n";
return true;
}
if (IC.isNever()) {
DOUT << " NOT Inlining: cost=never"
- << ", Call: " << *CS.getInstruction();
+ << ", Call: " << *CS.getInstruction() << "\n";
return false;
}
@@ -116,11 +116,11 @@ bool Inliner::shouldInline(CallSite CS) {
if (Cost >= (int)(CurrentThreshold * FudgeFactor)) {
DOUT << " NOT Inlining: cost=" << Cost
- << ", Call: " << *CS.getInstruction();
+ << ", Call: " << *CS.getInstruction() << "\n";
return false;
} else {
DOUT << " Inlining: cost=" << Cost
- << ", Call: " << *CS.getInstruction();
+ << ", Call: " << *CS.getInstruction() << "\n";
return true;
}
}