aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-27 01:14:50 +0000
committerEric Christopher <echristo@gmail.com>2014-06-27 01:14:50 +0000
commit72a5b2a14e2e1b2bda5205e7634c070e221ec7f7 (patch)
treeb048ca1cc72fea88e050fca429501911bda4ee6e /llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
parent360096e701b5416b73d72ab764e05fd83a35ca7e (diff)
downloadllvm-72a5b2a14e2e1b2bda5205e7634c070e221ec7f7.zip
llvm-72a5b2a14e2e1b2bda5205e7634c070e221ec7f7.tar.gz
llvm-72a5b2a14e2e1b2bda5205e7634c070e221ec7f7.tar.bz2
Remove uses and caches of the target machine and subtarget from
both MSP430InstrInfo and MSP430RegisterInfo. Remove unused member variable StackAlign from MSP430RegisterInfo. Update constructors accordingly. llvm-svn: 211835
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 04f8f08..ab7284e 100644
--- a/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
+++ b/llvm/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(DL),
+ InstrInfo(Subtarget), TLInfo(*this), TSInfo(DL),
FrameLowering() {
initAsmInfo();
}