Do not use typeinfo to identify pass in pass manager.
[oota-llvm.git] / lib / VMCore / AsmWriter.cpp
index 3a065b0cdfe806b62d76af258bbf21cd802b553b..53828f618e94bbdab632007e718e321d75ed8247 100644 (file)
@@ -135,8 +135,10 @@ public:
 
 }  // end namespace llvm
 
+const int PrintModulePass::ID = 0;
 static RegisterPass<PrintModulePass>
 X("printm", "Print module to stderr");
+const int PrintFunctionPass::ID = 0;
 static RegisterPass<PrintFunctionPass>
 Y("print","Print function to stderr");