diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-23 21:21:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-23 21:21:35 +0000 |
commit | 74c68ffd5f865e20dc47ece8f1840f6ff3abb548 (patch) | |
tree | ad827ee0a61305641845f129d54f20b7a8be1190 /lib | |
parent | 9e7cc2f0d42aa4127e3b8406e25907a96ce9ada0 (diff) |
Simplify the interface and remove an unneeded #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/IPO/Inliner.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Transforms/IPO/Inliner.h b/lib/Transforms/IPO/Inliner.h index 45d5db726c..f937be2a53 100644 --- a/lib/Transforms/IPO/Inliner.h +++ b/lib/Transforms/IPO/Inliner.h @@ -19,11 +19,9 @@ #define DEBUG_TYPE "inline" #include "llvm/CallGraphSCCPass.h" -#include <set> namespace llvm { - -class CallSite; + class CallSite; /// Inliner - This class contains all of the helper code which is used to /// perform the inlining operations that does not depend on the policy. @@ -51,12 +49,6 @@ struct Inliner : public CallGraphSCCPass { /// not inlined. /// virtual int getInlineCost(CallSite CS) = 0; - - /// getRecursiveInlineCost - This method can be implemented by subclasses if - /// it wants to treat calls to functions within the current SCC specially. If - /// this method is not overloaded, it just chains to getInlineCost(). - /// - virtual int getRecursiveInlineCost(CallSite CS); private: // InlineThreshold - Cache the value here for easy access. |