[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jun 16 11:23:11 PDT 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaTargetMachine.cpp updated: 1.25 -> 1.26
---
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 -2)
AlphaTargetMachine.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.25 llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.26
--- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.25 Fri May 19 19:24:56 2006
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.cpp Fri Jun 16 13:22:52 2006
@@ -54,8 +54,7 @@
}
AlphaTargetMachine::AlphaTargetMachine(const Module &M, const std::string &FS)
- : TargetMachine("alpha"),
- DataLayout(std::string("alpha"), std::string("e")),
+ : TargetMachine("alpha"), DataLayout("e"),
FrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0),
JITInfo(*this),
Subtarget(M, FS)
More information about the llvm-commits
mailing list