eliminate RegisterOpt. It does the same thing as RegisterPass.
llvm-svn: 29925
diff --git a/llvm/lib/Transforms/Utils/LowerAllocations.cpp b/llvm/lib/Transforms/Utils/LowerAllocations.cpp
index 8eec021..451df70 100644
--- a/llvm/lib/Transforms/Utils/LowerAllocations.cpp
+++ b/llvm/lib/Transforms/Utils/LowerAllocations.cpp
@@ -65,7 +65,7 @@
bool runOnBasicBlock(BasicBlock &BB);
};
- RegisterOpt<LowerAllocations>
+ RegisterPass<LowerAllocations>
X("lowerallocs", "Lower allocations from instructions to calls");
}