Update CMake files.
[oota-llvm.git] / lib / Transforms / IPO / InlineAlways.cpp
index d809b5aed173d8d56fc269bf1f536f6754d1b6a7..5f9ea5453c1f6d8139ecb6173a591c43184de01a 100644 (file)
@@ -45,6 +45,12 @@ 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); 
+    }
     virtual bool doInitialization(CallGraph &CG);
   };
 }