commit | e345566f8eaeeda45e29e3709114a42209a360cc | [log] [tgz] |
---|---|---|
author | Dale Johannesen <dalej@apple.com> | Fri Jan 09 01:30:11 2009 +0000 |
committer | Dale Johannesen <dalej@apple.com> | Fri Jan 09 01:30:11 2009 +0000 |
tree | f8b39f7bf252361ce3898f38b9c38ca9b5b0d11e | |
parent | 24c047fa6b754df69f33295fd74fd408532d7beb [diff] [blame] |
Adjustments to last patch based on review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61969 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index 8ae5235..e107a00 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp
@@ -43,6 +43,9 @@ float getInlineFudgeFactor(CallSite CS) { return CA.getInlineFudgeFactor(CS); } + void resetCachedCostInfo(Function *Caller) { + CA.resetCachedCostInfo(Caller); + } virtual bool doInitialization(CallGraph &CG); }; }