Move PPCInstrInfo off of the target machine and onto the subtarget.
[oota-llvm.git] / lib / Target / PowerPC / PPCTargetMachine.cpp
index 869fe89126fe5e483dbc86f27a9e3cf2683c7b32..4e04dfa2a372399aaebfc2b4e454ec0097789fd6 100644 (file)
@@ -42,8 +42,8 @@ PPCTargetMachine::PPCTargetMachine(const Target &T, StringRef TT, StringRef CPU,
                                    Reloc::Model RM, CodeModel::Model CM,
                                    CodeGenOpt::Level OL, bool is64Bit)
     : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
-      Subtarget(TT, CPU, FS, is64Bit, OL), InstrInfo(Subtarget),
-      JITInfo(*this, is64Bit), TLInfo(*this), TSInfo(*this) {
+      Subtarget(TT, CPU, FS, is64Bit, OL), JITInfo(*this, is64Bit),
+      TLInfo(*this), TSInfo(*this) {
   initAsmInfo();
 }