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

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 16 11:24:07 PDT 2006



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

StackerCompiler.cpp updated: 1.16 -> 1.17
---
Log message:

Don't pass target name into TargetData anymore, it is never used or needed.



---
Diffs of the changes:  (+1 -1)

 StackerCompiler.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.16 llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.17
--- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.16	Fri May 12 12:29:40 2006
+++ llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp	Fri Jun 16 13:23:49 2006
@@ -264,7 +264,7 @@
         // Set up a pass manager
         PassManager Passes;
         // Add in the passes we want to execute
-        Passes.add(new TargetData("stkrc",TheModule));
+        Passes.add(new TargetData(TheModule));
         // Verify we start with valid
         Passes.add(createVerifierPass());
 






More information about the llvm-commits mailing list