summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430InstrInfo.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-06-07 06:30:15 +0000
committerBill Wendling <isanbard@gmail.com>2013-06-07 06:30:15 +0000
commited8b5b55a4416286758c5567c2602d2c7d0be585 (patch)
tree5a184371bddfdf5194d79910e7bb3a2c69c3f548 /lib/Target/MSP430/MSP430InstrInfo.cpp
parent637eab6a3be3a15fbf2057328ec4773d77467a76 (diff)
downloadllvm-ed8b5b55a4416286758c5567c2602d2c7d0be585.tar.gz
llvm-ed8b5b55a4416286758c5567c2602d2c7d0be585.tar.bz2
llvm-ed8b5b55a4416286758c5567c2602d2c7d0be585.tar.xz
Don't cache the instruction and register info from the TargetMachine, because
the internals of TargetMachine could change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430InstrInfo.cpp')
-rw-r--r--lib/Target/MSP430/MSP430InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430InstrInfo.cpp b/lib/Target/MSP430/MSP430InstrInfo.cpp
index a6b5f2f6d0..c8505946df 100644
--- a/lib/Target/MSP430/MSP430InstrInfo.cpp
+++ b/lib/Target/MSP430/MSP430InstrInfo.cpp
@@ -29,7 +29,7 @@ using namespace llvm;
MSP430InstrInfo::MSP430InstrInfo(MSP430TargetMachine &tm)
: MSP430GenInstrInfo(MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP),
- RI(tm, *this) {}
+ RI(tm) {}
void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI,