[llvm-commits] CVS: llvm/lib/Transforms/IPO/Inliner.h
Chris Lattner
lattner at cs.uiuc.edu
Sun May 23 16:24:01 PDT 2004
Changes in directory llvm/lib/Transforms/IPO:
Inliner.h updated: 1.6 -> 1.7
---
Log message:
Simplify the interface and remove an unneeded #include
---
Diffs of the changes: (+1 -9)
Index: llvm/lib/Transforms/IPO/Inliner.h
diff -u llvm/lib/Transforms/IPO/Inliner.h:1.6 llvm/lib/Transforms/IPO/Inliner.h:1.7
--- llvm/lib/Transforms/IPO/Inliner.h:1.6 Tue Apr 20 17:06:53 2004
+++ llvm/lib/Transforms/IPO/Inliner.h Sun May 23 16:21:35 2004
@@ -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 @@
/// 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.
More information about the llvm-commits
mailing list