eliminate RegisterOpt. It does the same thing as RegisterPass.
llvm-svn: 29925
diff --git a/llvm/lib/Analysis/ProfileInfo.cpp b/llvm/lib/Analysis/ProfileInfo.cpp
index fa3af80..b8ab88b 100644
--- a/llvm/lib/Analysis/ProfileInfo.cpp
+++ b/llvm/lib/Analysis/ProfileInfo.cpp
@@ -85,7 +85,7 @@
struct NoProfileInfo : public ImmutablePass, public ProfileInfo {};
// Register this pass...
- RegisterOpt<NoProfileInfo>
+ RegisterPass<NoProfileInfo>
X("no-profile", "No Profile Information");
// Declare that we implement the ProfileInfo interface