diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-23 18:06:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-23 18:06:35 +0000 |
commit | f629309f74cf1a64aa7fd1cd5784fd7db9a8f59e (patch) | |
tree | baf1f59f5f0ba41f4bd1711c4155bbe328e6d041 /lib/Transforms/IPO/GlobalDCE.cpp | |
parent | af41a12370010325eb163b734d5757a7f0296e67 (diff) |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/GlobalDCE.cpp')
-rw-r--r-- | lib/Transforms/IPO/GlobalDCE.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/GlobalDCE.cpp b/lib/Transforms/IPO/GlobalDCE.cpp index c419ad1a0c..494b3630c4 100644 --- a/lib/Transforms/IPO/GlobalDCE.cpp +++ b/lib/Transforms/IPO/GlobalDCE.cpp @@ -70,8 +70,6 @@ static bool RemoveUnreachableGlobalVariables(Module &M) { namespace { struct GlobalDCE : public Pass { - const char *getPassName() const { return "Dead Global Elimination"; } - // run - Do the GlobalDCE pass on the specified module, optionally updating // the specified callgraph to reflect the changes. // @@ -88,6 +86,7 @@ namespace { AU.addRequired(CallGraph::ID); } }; + RegisterPass<GlobalDCE> X("globaldce", "Dead Global Elimination"); } Pass *createGlobalDCEPass() { return new GlobalDCE(); } |