diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-16 18:22:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-16 18:22:52 +0000 |
commit | f3b5b92e5865913119da457fd0d11db1cfd87532 (patch) | |
tree | 623178ca7828a932b9274f2bd2ade4227b2cab21 /llvm/lib/Target/IA64/IA64TargetMachine.cpp | |
parent | e16e1cbf3a221eb27eaf3fe41a86a93aa9610035 (diff) | |
download | bcm5719-llvm-f3b5b92e5865913119da457fd0d11db1cfd87532.tar.gz bcm5719-llvm-f3b5b92e5865913119da457fd0d11db1cfd87532.zip |
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.
llvm-svn: 28830
Diffstat (limited to 'llvm/lib/Target/IA64/IA64TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/IA64/IA64TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/IA64/IA64TargetMachine.cpp b/llvm/lib/Target/IA64/IA64TargetMachine.cpp index f51da17564c..0c5ae0d67c6 100644 --- a/llvm/lib/Target/IA64/IA64TargetMachine.cpp +++ b/llvm/lib/Target/IA64/IA64TargetMachine.cpp @@ -76,7 +76,7 @@ unsigned IA64TargetMachine::getModuleMatchQuality(const Module &M) { /// 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 } |