Changes in directory llvm/lib/Target:
TargetData.cpp updated: 1.69 -> 1.70 --- Log message: Don't pass target name into TargetData anymore, it is never used or needed. Remove explicit casts to std::string now that there is no overload resolution issues in the TargetData ctors. --- Diffs of the changes: (+1 -1) TargetData.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/TargetData.cpp:1.69 llvm/lib/Target/TargetData.cpp:1.70 --- llvm/lib/Target/TargetData.cpp:1.69 Fri Jun 16 13:11:26 2006 +++ llvm/lib/Target/TargetData.cpp Fri Jun 16 13:22:52 2006 @@ -152,7 +152,7 @@ } } -TargetData::TargetData(const std::string &ToolName, const Module *M) { +TargetData::TargetData(const Module *M) { LittleEndian = M->getEndianness() != Module::BigEndian; PointerSize = M->getPointerSize() != Module::Pointer64 ? 4 : 8; PointerAlignment = PointerSize; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits