summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/Inliner.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-13 16:27:32 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-13 16:27:32 +0000
commitaa8405811ed9ad84e5afb70dac04ebfbae519316 (patch)
treea418fdb0e3dd2ae219e5b9fecb8903af64ff2bd9 /lib/Transforms/IPO/Inliner.cpp
parent18e2c290940b67c9dc1196e3c2234e7a20f60ae4 (diff)
downloadllvm-aa8405811ed9ad84e5afb70dac04ebfbae519316.tar.gz
llvm-aa8405811ed9ad84e5afb70dac04ebfbae519316.tar.bz2
llvm-aa8405811ed9ad84e5afb70dac04ebfbae519316.tar.xz
Fix an 80 char line limit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/Inliner.cpp')
-rw-r--r--lib/Transforms/IPO/Inliner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp
index 69a22fb1e6..a9263baa44 100644
--- a/lib/Transforms/IPO/Inliner.cpp
+++ b/lib/Transforms/IPO/Inliner.cpp
@@ -210,7 +210,8 @@ unsigned Inliner::getInlineThreshold(CallSite CS) const {
Function *Caller = CS.getCaller();
bool OptSize = Caller && !Caller->isDeclaration() &&
Caller->hasFnAttr(Attribute::OptimizeForSize);
- if (!(InlineLimit.getNumOccurrences() > 0) && OptSize && OptSizeThreshold < thres)
+ if (!(InlineLimit.getNumOccurrences() > 0) && OptSize &&
+ OptSizeThreshold < thres)
thres = OptSizeThreshold;
// Listen to the inlinehint attribute when it would increase the threshold.