commit | 6374c3d4d7b1fece8ed9acb590f809a0e6fb17ee | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed Jul 21 22:09:45 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed Jul 21 22:09:45 2010 +0000 |
tree | 038f76abec58dcdf127487653ee3175dcbcc33d0 | |
parent | fee619f26f829cdedb7b134d58cf91bdc753d6db [diff] [blame] |
Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109045 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/IPO/IPConstantPropagation.cpp b/lib/Transforms/IPO/IPConstantPropagation.cpp index e4db235..03cc542 100644 --- a/lib/Transforms/IPO/IPConstantPropagation.cpp +++ b/lib/Transforms/IPO/IPConstantPropagation.cpp
@@ -45,8 +45,8 @@ } char IPCP::ID = 0; -static RegisterPass<IPCP> -X("ipconstprop", "Interprocedural constant propagation"); +INITIALIZE_PASS(IPCP, "ipconstprop", + "Interprocedural constant propagation", false, false); ModulePass *llvm::createIPConstantPropagationPass() { return new IPCP(); }