aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-07 04:10:36 +0000
committerChris Lattner <sabre@nondot.org>2004-10-07 04:10:36 +0000
commit8ecaccebf1c992c8e606c1349d0e0478e2e5dc8e (patch)
tree35915106a660fa0a8233068d69ad870e59a9acf5 /projects
parent69406b06ad58784c40ba531afe4430b45219fe6c (diff)
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
Diffstat (limited to 'projects')
-rw-r--r--projects/Stacker/lib/compiler/StackerCompiler.cpp2
1 files changed, 0 insertions, 2 deletions
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