[llvm-commits] CVS: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Oct 6 21:10:49 PDT 2004



Changes in directory llvm/projects/Stacker/lib/compiler:

StackerCompiler.cpp updated: 1.10 -> 1.11
---
Log message:

This pass is not needed, as there is only ever one global: the stack


---
Diffs of the changes:  (+0 -2)

Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.10 llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.11
--- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.10	Sat Sep  4 14:07:32 2004
+++ llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp	Wed Oct  6 23:10:36 2004
@@ -272,8 +272,6 @@
             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






More information about the llvm-commits mailing list