From: Chris Lattner Date: Thu, 7 Oct 2004 04:10:36 +0000 (+0000) Subject: This pass is not needed, as there is only ever one global: the stack X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8ecaccebf1c992c8e606c1349d0e0478e2e5dc8e;p=oota-llvm.git This pass is not needed, as there is only ever one global: the stack git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16800 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp index 83b777be3ce..432ffe9b2b6 100644 --- a/projects/Stacker/lib/compiler/StackerCompiler.cpp +++ b/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