[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 21 10:20:17 PDT 2006



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.201 -> 1.202
---
Log message:

Fix PR885: http://llvm.org/PR885 


---
Diffs of the changes:  (+4 -4)

 AsmWriter.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.201 llvm/lib/VMCore/AsmWriter.cpp:1.202
--- llvm/lib/VMCore/AsmWriter.cpp:1.201	Fri May 19 16:58:52 2006
+++ llvm/lib/VMCore/AsmWriter.cpp	Mon Aug 21 12:20:01 2006
@@ -162,10 +162,10 @@
 
 }  // end namespace llvm
 
-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 RegisterOpt<PrintModulePass>
+X("printm", "Print module to stderr");
+static RegisterOpt<PrintFunctionPass>
+Y("print","Print function to stderr");
 
 static void WriteAsOperandInternal(std::ostream &Out, const Value *V,
                                    bool PrintName,






More information about the llvm-commits mailing list