Don't use PassInfo* as a type identifier for passes. Instead, use the address of...
[oota-llvm.git] / tools / llvm-prof / llvm-prof.cpp
index 88adeb43e6de35390d500cef99c5e8d58786a563..0c6c4d7bb7826a4f9e657248252a192f342b15d5 100644 (file)
@@ -128,7 +128,7 @@ namespace {
   public:
     static char ID; // Class identification, replacement for typeinfo.
     explicit ProfileInfoPrinterPass(ProfileInfoLoader &_PIL) 
-      : ModulePass(&ID), PIL(_PIL) {}
+      : ModulePass(ID), PIL(_PIL) {}
 
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
       AU.setPreservesAll();