Move some methods to a new MCInstrDesc.cpp file to allow includes to be trimmed....
[oota-llvm.git] / lib / MC / MCObjectFileInfo.cpp
index 02fc55e07494299865320de48f770b1faffe6057..29f5a1d3752cc418695c47fdccf13fa22d9b9d1f 100644 (file)
@@ -754,7 +754,7 @@ void MCObjectFileInfo::InitMCObjectFileInfo(StringRef T, Reloc::Model relocm,
        Arch == Triple::aarch64 ||
        Arch == Triple::ppc || Arch == Triple::ppc64 ||
        Arch == Triple::UnknownArch) &&
-      (TT.isOSDarwin() || TT.isOSBinFormatMachO())) {
+      TT.isOSBinFormatMachO()) {
     Env = IsMachO;
     InitMachOMCObjectFileInfo(TT);
   } else if ((Arch == Triple::x86 || Arch == Triple::x86_64 ||