[llvm-commits] CVS: llvm/tools/llvm-ld/Optimize.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jun 16 11:24:06 PDT 2006
Changes in directory llvm/tools/llvm-ld:
Optimize.cpp updated: 1.8 -> 1.9
---
Log message:
Don't pass target name into TargetData anymore, it is never used or needed.
---
Diffs of the changes: (+1 -1)
Optimize.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/llvm-ld/Optimize.cpp
diff -u llvm/tools/llvm-ld/Optimize.cpp:1.8 llvm/tools/llvm-ld/Optimize.cpp:1.9
--- llvm/tools/llvm-ld/Optimize.cpp:1.8 Wed Jun 7 18:07:51 2006
+++ llvm/tools/llvm-ld/Optimize.cpp Fri Jun 16 13:23:48 2006
@@ -102,7 +102,7 @@
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
More information about the llvm-commits
mailing list