From b0c8aab038f19c179d2419c8a85dddeff125c89e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 7 Oct 2004 04:10:36 +0000 Subject: This pass is not needed, as there is only ever one global: the stack llvm-svn: 16800 --- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp') 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 -- cgit v1.2.3