Remove uses and caches of the target machine and subtarget from
[oota-llvm.git] / lib / Target / MSP430 / MSP430InstrInfo.cpp
index 0c04ddbb110ba821640dc9f68b2f2f064f6a0379..ccb6c09e3f41b9ed4c8dcb04ad1b7ec9a14fdc40 100644 (file)
@@ -30,9 +30,9 @@ using namespace llvm;
 // Pin the vtable to this file.
 void MSP430InstrInfo::anchor() {}
 
-MSP430InstrInfo::MSP430InstrInfo(MSP430TargetMachine &tm)
+MSP430InstrInfo::MSP430InstrInfo(MSP430Subtarget &STI)
   : MSP430GenInstrInfo(MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP),
-    RI(tm) {}
+    RI() {}
 
 void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
                                           MachineBasicBlock::iterator MI,