diff options
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index e33d9f400a..c1af5e4c85 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -29,8 +29,10 @@ using std::map; using std::vector; using std::ostream; -static RegisterPass<PrintModulePass> X("printm", "Print module to stderr"); -static RegisterPass<PrintFunctionPass> Y("print", "Print function to stderr"); +static RegisterPass<PrintModulePass> +X("printm", "Print module to stderr",PassInfo::Analysis|PassInfo::Optimization); +static RegisterPass<PrintFunctionPass> +Y("print","Print function to stderr",PassInfo::Analysis|PassInfo::Optimization); static void WriteAsOperandInternal(ostream &Out, const Value *V, bool PrintName, map<const Type *, string> &TypeTable, |