summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430TargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-27 00:37:57 +0000
committerEric Christopher <echristo@gmail.com>2014-06-27 00:37:57 +0000
commit9fe7eae0866080ea236a63d5358fad036350ecfd (patch)
treea1be1d970d1a37384fb1e3f67a97310b6ba88627 /lib/Target/MSP430/MSP430TargetMachine.cpp
parent061b8c389cfd602d8e94995773820ca3bf727bfc (diff)
downloadllvm-9fe7eae0866080ea236a63d5358fad036350ecfd.tar.gz
llvm-9fe7eae0866080ea236a63d5358fad036350ecfd.tar.bz2
llvm-9fe7eae0866080ea236a63d5358fad036350ecfd.tar.xz
Have MSP430SelectionDAGInfo constructor take a DataLayout rather
than a target machine since it doesn't need anything past the DataLayout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430TargetMachine.cpp')
-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 50be2be300..23a98aa6d7 100644
--- a/lib/Target/MSP430/MSP430TargetMachine.cpp
+++ b/lib/Target/MSP430/MSP430TargetMachine.cpp
@@ -35,7 +35,7 @@ MSP430TargetMachine::MSP430TargetMachine(const Target &T,
Subtarget(TT, CPU, FS),
// FIXME: Check DataLayout string.
DL("e-m:e-p:16:16-i32:16:32-n8:16"),
- InstrInfo(*this), TLInfo(*this), TSInfo(*this),
+ InstrInfo(*this), TLInfo(*this), TSInfo(DL),
FrameLowering(Subtarget) {
initAsmInfo();
}