Revert "Add a TargetMachine local MCRegisterInfo and MCInstrInfo so that"
[oota-llvm.git] / lib / Target / TargetMachine.cpp
index 0913af3d7d23e04a9e413598f0b14362728cba32..56e7e8b24bdb5b5e33b7f656ebab7317afa393e9 100644 (file)
@@ -40,14 +40,12 @@ TargetMachine::TargetMachine(const Target &T, StringRef DataLayoutString,
                              StringRef TT, StringRef CPU, StringRef FS,
                              const TargetOptions &Options)
     : TheTarget(T), DL(DataLayoutString), TargetTriple(TT), TargetCPU(CPU),
-      TargetFS(FS), CodeGenInfo(nullptr), AsmInfo(nullptr), MII(nullptr),
-      MRI(nullptr), RequireStructuredCFG(false), Options(Options) {}
+      TargetFS(FS), CodeGenInfo(nullptr), AsmInfo(nullptr),
+      RequireStructuredCFG(false), Options(Options) {}
 
 TargetMachine::~TargetMachine() {
   delete CodeGenInfo;
   delete AsmInfo;
-  delete MII;
-  delete MRI;
 }
 
 /// \brief Reset the target options based on the function's attributes.