Adjustments to last patch based on review.
[oota-llvm.git] / lib / Transforms / IPO / InlineAlways.cpp
index 9031432162e07b2970e098a8f9264c6d84257a12..5f9ea5453c1f6d8139ecb6173a591c43184de01a 100644 (file)
@@ -45,6 +45,9 @@ namespace {
     float getInlineFudgeFactor(CallSite CS) {
       return CA.getInlineFudgeFactor(CS);
     }
+    void resetCachedCostInfo(Function *Caller) {
+      return CA.resetCachedCostInfo(Caller);
+    }
     virtual bool doFinalization(CallGraph &CG) { 
       return removeDeadFunctions(CG, &NeverInline); 
     }