Fix PR1395, by passing the ID correctly
[oota-llvm.git] / lib / Transforms / IPO / Inliner.h
index 80be81a1e92ed91b7f46219424f2a62034f68dbc..cc58259373ba2c488f30b895c8dbf87f62c7f44b 100644 (file)
@@ -27,8 +27,7 @@ namespace llvm {
 /// perform the inlining operations that does not depend on the policy.
 ///
 struct Inliner : public CallGraphSCCPass {
-  static char ID;
-  Inliner();
+  Inliner(const void *ID);
 
   /// getAnalysisUsage - For this class, we declare that we require and preserve
   /// the call graph.  If the derived class implements this method, it should