diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-11 20:42:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-11 20:42:37 +0000 |
commit | 2c30970b22112b0fe7a603005ea2b26d11e69b95 (patch) | |
tree | 1786cb56b4ad655f84cbd240b3f8f9a3092644d1 /llvm/lib/Target/Mips/MipsTargetMachine.cpp | |
parent | 67e5ea2726877a05a94d10df3cb0b01a1d799778 (diff) | |
download | bcm5719-llvm-2c30970b22112b0fe7a603005ea2b26d11e69b95.tar.gz bcm5719-llvm-2c30970b22112b0fe7a603005ea2b26d11e69b95.zip |
pass the TargetTriple down from each target ctor to the
LLVMTargetMachine ctor. It is currently unused.
llvm-svn: 78711
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsTargetMachine.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetMachine.cpp b/llvm/lib/Target/Mips/MipsTargetMachine.cpp index a3977560878..546c834c080 100644 --- a/llvm/lib/Target/Mips/MipsTargetMachine.cpp +++ b/llvm/lib/Target/Mips/MipsTargetMachine.cpp @@ -38,14 +38,13 @@ const TargetAsmInfo *MipsTargetMachine::createTargetAsmInfo() const { MipsTargetMachine:: MipsTargetMachine(const Target &T, const std::string &TT, const std::string &FS, bool isLittle=false): - LLVMTargetMachine(T), + LLVMTargetMachine(T, TT), Subtarget(TT, FS, isLittle), DataLayout(isLittle ? std::string("e-p:32:32:32-i8:8:32-i16:16:32") : std::string("E-p:32:32:32-i8:8:32-i16:16:32")), InstrInfo(*this), FrameInfo(TargetFrameInfo::StackGrowsUp, 8, 0), - TLInfo(*this) -{ + TLInfo(*this) { // Abicall enables PIC by default if (getRelocationModel() == Reloc::Default) { if (Subtarget.isABI_O32()) |