summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-27 04:32:07 +0000
committerChris Lattner <sabre@nondot.org>2009-08-27 04:32:07 +0000
commitb9d0a961f91a05a1852afb3a18a23b7d0836809b (patch)
tree053a60d9496b41af2b4e782efe37e45ed263980d /llvm/lib/Transforms
parentb1cba3f91e89d017dc74b5ac576c9107ace45e1f (diff)
downloadbcm5719-llvm-b9d0a961f91a05a1852afb3a18a23b7d0836809b.tar.gz
bcm5719-llvm-b9d0a961f91a05a1852afb3a18a23b7d0836809b.zip
reduce header #include'age
llvm-svn: 80204
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/Inliner.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp
index af7270a0484..965849cc4f8 100644
--- a/llvm/lib/Transforms/IPO/Inliner.cpp
+++ b/llvm/lib/Transforms/IPO/Inliner.cpp
@@ -21,10 +21,12 @@
#include "llvm/Support/CallSite.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Transforms/IPO/InlinerPass.h"
+#include "llvm/Transforms/Utils/InlineCost.h"
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
+#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include <set>
using namespace llvm;
@@ -57,7 +59,8 @@ bool Inliner::InlineCallIfPossible(CallSite CS, CallGraph &CG,
Function *Callee = CS.getCalledFunction();
Function *Caller = CS.getCaller();
- if (!InlineFunction(CS, &CG, TD)) return false;
+ if (!InlineFunction(CS, &CG, TD))
+ return false;
// If the inlined function had a higher stack protection level than the
// calling function, then bump up the caller's stack protection level.
OpenPOWER on IntegriCloud