aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MSP430
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
commit0a31d2f6456069adba19b8aeca66c68b633c38b4 (patch)
treedcfe9e4849884a56ad41a319e64541f9de2b4a66 /lib/Target/MSP430
parent92319e24549a4855a4b09bf7a71660296bf75b2d (diff)
downloadexternal_llvm-0a31d2f6456069adba19b8aeca66c68b633c38b4.zip
external_llvm-0a31d2f6456069adba19b8aeca66c68b633c38b4.tar.gz
external_llvm-0a31d2f6456069adba19b8aeca66c68b633c38b4.tar.bz2
pass the TargetTriple down from each target ctor to the
LLVMTargetMachine ctor. It is currently unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430')
-rw-r--r--lib/Target/MSP430/MSP430TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430TargetMachine.cpp b/lib/Target/MSP430/MSP430TargetMachine.cpp
index 2d6af85..f34e3db 100644
--- a/lib/Target/MSP430/MSP430TargetMachine.cpp
+++ b/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"),