Changes in directory llvm/tools/gccld:

GenerateCode.cpp updated: 1.57 -> 1.58
---
Log message:

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



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

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


Index: llvm/tools/gccld/GenerateCode.cpp
diff -u llvm/tools/gccld/GenerateCode.cpp:1.57 
llvm/tools/gccld/GenerateCode.cpp:1.58
--- llvm/tools/gccld/GenerateCode.cpp:1.57      Sun May 14 14:17:28 2006
+++ llvm/tools/gccld/GenerateCode.cpp   Fri Jun 16 13:23:48 2006
@@ -207,7 +207,7 @@
   if (Verify) Passes.add(createVerifierPass());
 
   // Add an appropriate TargetData instance for this module...
-  addPass(Passes, new TargetData("gccld", M));
+  addPass(Passes, new TargetData(M));
 
   // Often if the programmer does not specify proper prototypes for the
   // functions they are calling, they end up calling a vararg version of the



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to