diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-26 18:50:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-26 18:50:26 +0000 |
commit | 27f65c8441916a2e3e254b484bc3a35c562faa2b (patch) | |
tree | ce03fc9aca28fdd6c20fb811610dd59812aa6e36 /include/llvm/Transforms/Scalar/DCE.h | |
parent | a3c2dee477d009d0eb2916b2fdf78686f6877924 (diff) | |
download | external_llvm-27f65c8441916a2e3e254b484bc3a35c562faa2b.zip external_llvm-27f65c8441916a2e3e254b484bc3a35c562faa2b.tar.gz external_llvm-27f65c8441916a2e3e254b484bc3a35c562faa2b.tar.bz2 |
Remove unused method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Scalar/DCE.h')
-rw-r--r-- | include/llvm/Transforms/Scalar/DCE.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Transforms/Scalar/DCE.h b/include/llvm/Transforms/Scalar/DCE.h index 09ab61c..86943eb 100644 --- a/include/llvm/Transforms/Scalar/DCE.h +++ b/include/llvm/Transforms/Scalar/DCE.h @@ -32,14 +32,6 @@ struct DeadCodeElimination : public Pass { // static bool RemoveUnusedGlobalValues(Module *M); - // RemoveUnusedGlobalValuesAfterLink - This function is only to be used after - // linking the application. It removes global variables with initializers and - // unreachable methods. This should only be used after an application is - // linked, when it is not possible for an external entity to make a global - // value live again. - // - // static bool RemoveUnusedGlobalValuesAfterLink(Module *M); // TODO - // Pass Interface... virtual bool doPassInitialization(Module *M) { return RemoveUnusedGlobalValues(M); @@ -63,7 +55,6 @@ struct AgressiveDCE : public Pass { }; - // SimplifyCFG - This function is used to do simplification of a CFG. For // example, it adjusts branches to branches to eliminate the extra hop, it // eliminates unreachable basic blocks, and does other "peephole" optimization |