From 8ecaccebf1c992c8e606c1349d0e0478e2e5dc8e 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16800 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/Stacker/lib/compiler/StackerCompiler.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'projects') diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp index 83b777be3c..432ffe9b2b 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 -- cgit v1.2.3