diff options
Diffstat (limited to 'lib/Transforms/IPO/GlobalDCE.cpp')
-rw-r--r-- | lib/Transforms/IPO/GlobalDCE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/GlobalDCE.cpp b/lib/Transforms/IPO/GlobalDCE.cpp index 072cef2eb5..07296cfa5e 100644 --- a/lib/Transforms/IPO/GlobalDCE.cpp +++ b/lib/Transforms/IPO/GlobalDCE.cpp @@ -44,7 +44,7 @@ namespace { bool SafeToDestroyConstant(Constant* C); bool RemoveUnusedGlobalValue(GlobalValue &GV); }; - RegisterOpt<GlobalDCE> X("globaldce", "Dead Global Elimination"); + RegisterPass<GlobalDCE> X("globaldce", "Dead Global Elimination"); } ModulePass *llvm::createGlobalDCEPass() { return new GlobalDCE(); } |