[llvm-commits] CVS: llvm/tools/opt/opt.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jun 16 11:24:06 PDT 2006
Changes in directory llvm/tools/opt:
opt.cpp updated: 1.109 -> 1.110
---
Log message:
Don't pass target name into TargetData anymore, it is never used or needed.
---
Diffs of the changes: (+1 -1)
opt.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/opt/opt.cpp
diff -u llvm/tools/opt/opt.cpp:1.109 llvm/tools/opt/opt.cpp:1.110
--- llvm/tools/opt/opt.cpp:1.109 Wed Jun 7 18:03:13 2006
+++ llvm/tools/opt/opt.cpp Fri Jun 16 13:23:49 2006
@@ -134,7 +134,7 @@
PassManager Passes;
// Add an appropriate TargetData instance for this module...
- Passes.add(new TargetData("opt", M.get()));
+ Passes.add(new TargetData(M.get()));
// Create a new optimization pass for each one specified on the command line
for (unsigned i = 0; i < OptimizationList.size(); ++i) {
More information about the llvm-commits
mailing list