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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28830 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-06-16 18:22:52 +00:00
parent c91dc678e9
commit 1790d44d0d
8 changed files with 8 additions and 14 deletions
+1 -2
View File
@@ -54,8 +54,7 @@ unsigned AlphaTargetMachine::getJITMatchQuality() {
}
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)