Revert "Reapply 91184 with fixes and an addition to the testcase to cover the
[oota-llvm.git] / lib / CodeGen / MachOWriter.h
index e5c7ee6c25397c9254c1adfff6461b1e51b4a577..9273f3854863cc5abee7347fb1180a1a212930f2 100644 (file)
@@ -22,6 +22,7 @@ namespace llvm {
   class Constant;
   class GlobalVariable;
   class Mangler;
+  class MachineBasicBlock;
   class MachineRelocation;
   class MachOCodeEmitter;
   struct MachODySymTab;
@@ -30,7 +31,7 @@ namespace llvm {
   struct MachOSym;
   class TargetData;
   class TargetMachine;
-  class TargetAsmInfo;
+  class MCAsmInfo;
   class ObjectCodeEmitter;
   class OutputBuffer;
   class raw_ostream;
@@ -77,7 +78,7 @@ namespace llvm {
     bool is64Bit, isLittleEndian;
 
     // Target Asm Info
-    const TargetAsmInfo *TAI;
+    const MCAsmInfo *MAI;
 
     /// Header - An instance of MachOHeader that we will update while we build
     /// the file, and then emit during finalization.