diff options
author | Dale Johannesen <dalej@apple.com> | 2009-01-09 01:30:11 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-01-09 01:30:11 +0000 |
commit | e345566f8eaeeda45e29e3709114a42209a360cc (patch) | |
tree | f8b39f7bf252361ce3898f38b9c38ca9b5b0d11e /lib/Transforms/IPO/InlineSimple.cpp | |
parent | 24c047fa6b754df69f33295fd74fd408532d7beb (diff) |
Adjustments to last patch based on review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/InlineSimple.cpp')
-rw-r--r-- | lib/Transforms/IPO/InlineSimple.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index 8ae5235383..e107a0023c 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp @@ -43,6 +43,9 @@ namespace { float getInlineFudgeFactor(CallSite CS) { return CA.getInlineFudgeFactor(CS); } + void resetCachedCostInfo(Function *Caller) { + CA.resetCachedCostInfo(Caller); + } virtual bool doInitialization(CallGraph &CG); }; } |