diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-07 04:10:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-07 04:10:36 +0000 |
commit | b0c8aab038f19c179d2419c8a85dddeff125c89e (patch) | |
tree | 66d8151c83ba86eecbbb5b32bc69cbdb2228aae2 /llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp | |
parent | 381fbf1616f7e3e8ef65a4e56eae25244a6952e6 (diff) | |
download | bcm5719-llvm-b0c8aab038f19c179d2419c8a85dddeff125c89e.tar.gz bcm5719-llvm-b0c8aab038f19c179d2419c8a85dddeff125c89e.zip |
This pass is not needed, as there is only ever one global: the stack
llvm-svn: 16800
Diffstat (limited to 'llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp')
-rw-r--r-- | llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp b/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp index 83b777be3ce..432ffe9b2b6 100644 --- a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp +++ b/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp @@ -272,8 +272,6 @@ StackerCompiler::compile( if (optLevel > 1) { // Clean up disgusting code Passes.add(createCFGSimplificationPass()); - // Mark read-only globals const - Passes.add(createGlobalConstifierPass()); // Remove unused globals Passes.add(createGlobalDCEPass()); // IP Constant Propagation |