[llvm-commits] CVS: llvm/lib/Target/IA64/IA64TargetMachine.cpp

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



Changes in directory llvm/lib/Target/IA64:

IA64TargetMachine.cpp updated: 1.16 -> 1.17
---
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)

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


Index: llvm/lib/Target/IA64/IA64TargetMachine.cpp
diff -u llvm/lib/Target/IA64/IA64TargetMachine.cpp:1.16 llvm/lib/Target/IA64/IA64TargetMachine.cpp:1.17
--- llvm/lib/Target/IA64/IA64TargetMachine.cpp:1.16	Fri May 19 19:24:56 2006
+++ llvm/lib/Target/IA64/IA64TargetMachine.cpp	Fri Jun 16 13:22:52 2006
@@ -76,7 +76,7 @@
 /// IA64TargetMachine ctor - Create an LP64 architecture model
 ///
 IA64TargetMachine::IA64TargetMachine(const Module &M, const std::string &FS)
-  : TargetMachine("IA64"), DataLayout(std::string("IA64"), std::string("e")),
+  : TargetMachine("IA64"), DataLayout("e"),
     FrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0),
     TLInfo(*this) { // FIXME? check this stuff
 }






More information about the llvm-commits mailing list