Revert r110396 to fix buildbots.
[oota-llvm.git] / lib / Transforms / IPO / InlineSimple.cpp
index 9c6637dfe5ad6bc5de2b58e80750746d35116acf..e609fb6867ff4aba9513069e31e8a80528f10f5b 100644 (file)
@@ -33,8 +33,8 @@ namespace {
     SmallPtrSet<const Function*, 16> NeverInline; 
     InlineCostAnalyzer CA;
   public:
-    SimpleInliner() : Inliner(ID) {}
-    SimpleInliner(int Threshold) : Inliner(ID, Threshold) {}
+    SimpleInliner() : Inliner(&ID) {}
+    SimpleInliner(int Threshold) : Inliner(&ID, Threshold) {}
     static char ID; // Pass identification, replacement for typeid
     InlineCost getInlineCost(CallSite CS) {
       return CA.getInlineCost(CS, NeverInline);