[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Verifier.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 27 15:43:22 PDT 2006
Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.202 -> 1.203
Verifier.cpp updated: 1.161 -> 1.162
---
Log message:
eliminate RegisterOpt. It does the same thing as RegisterPass.
---
Diffs of the changes: (+3 -3)
AsmWriter.cpp | 4 ++--
Verifier.cpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.202 llvm/lib/VMCore/AsmWriter.cpp:1.203
--- llvm/lib/VMCore/AsmWriter.cpp:1.202 Mon Aug 21 12:20:01 2006
+++ llvm/lib/VMCore/AsmWriter.cpp Sun Aug 27 17:42:52 2006
@@ -162,9 +162,9 @@
} // end namespace llvm
-static RegisterOpt<PrintModulePass>
+static RegisterPass<PrintModulePass>
X("printm", "Print module to stderr");
-static RegisterOpt<PrintFunctionPass>
+static RegisterPass<PrintFunctionPass>
Y("print","Print function to stderr");
static void WriteAsOperandInternal(std::ostream &Out, const Value *V,
Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.161 llvm/lib/VMCore/Verifier.cpp:1.162
--- llvm/lib/VMCore/Verifier.cpp:1.161 Sun Aug 27 07:54:02 2006
+++ llvm/lib/VMCore/Verifier.cpp Sun Aug 27 17:42:52 2006
@@ -239,7 +239,7 @@
}
};
- RegisterOpt<Verifier> X("verify", "Module Verifier");
+ RegisterPass<Verifier> X("verify", "Module Verifier");
} // End anonymous namespace
More information about the llvm-commits
mailing list