Remove getSubtargetImpl from ARMISelLowering and cache the
[oota-llvm.git] / lib / Target / ARM / ARMSubtarget.cpp
index 8b919f40b9777443435d80ca97a603f900c46d28..a2c4736cd183676e152b4985e5f9d1a5968c58eb 100644 (file)
@@ -121,7 +121,7 @@ ARMSubtarget::ARMSubtarget(const std::string &TT, const std::string &CPU,
                     : !isThumb()
                           ? (ARMBaseInstrInfo *)new ARMInstrInfo(*this)
                           : (ARMBaseInstrInfo *)new Thumb2InstrInfo(*this)),
-      TLInfo(TM) {}
+      TLInfo(TM, *this) {}
 
 void ARMSubtarget::initializeEnvironment() {
   HasV4TOps = false;