aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-11 20:42:37 +0000
committerChris Lattner <sabre@nondot.org>2009-08-11 20:42:37 +0000
commit2c30970b22112b0fe7a603005ea2b26d11e69b95 (patch)
tree1786cb56b4ad655f84cbd240b3f8f9a3092644d1 /llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
parent67e5ea2726877a05a94d10df3cb0b01a1d799778 (diff)
downloadllvm-2c30970b22112b0fe7a603005ea2b26d11e69b95.zip
llvm-2c30970b22112b0fe7a603005ea2b26d11e69b95.tar.gz
llvm-2c30970b22112b0fe7a603005ea2b26d11e69b95.tar.bz2
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/MSP430/MSP430TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/MSP430/MSP430TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp b/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
index 2d6af85..f34e3db 100644
--- a/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
+++ b/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
@@ -22,7 +22,7 @@ using namespace llvm;
MSP430TargetMachine::MSP430TargetMachine(const Target &T,
const std::string &TT,
const std::string &FS) :
- LLVMTargetMachine(T),
+ LLVMTargetMachine(T, TT),
Subtarget(TT, FS),
// FIXME: Check TargetData string.
DataLayout("e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"),