[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp

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



Changes in directory llvm/tools/gccas:

gccas.cpp updated: 1.115 -> 1.116
---
Log message:

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



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

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


Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.115 llvm/tools/gccas/gccas.cpp:1.116
--- llvm/tools/gccas/gccas.cpp:1.115	Wed Feb 22 01:33:49 2006
+++ llvm/tools/gccas/gccas.cpp	Fri Jun 16 13:23:48 2006
@@ -192,7 +192,7 @@
     PassManager Passes;
 
     // Add an appropriate TargetData instance for this module...
-    Passes.add(new TargetData("gccas", M.get()));
+    Passes.add(new TargetData(M.get()));
 
     // Add all of the transformation passes to the pass manager to do the cleanup
     // and optimization of the GCC output.






More information about the llvm-commits mailing list