ARMAsmBackend.cpp: Use Triple::isOSBinFormatCOFF() instead of isOSWindows().

FYI, isOSBinFormatCOFF() is as same as isOSWindows(), on trunk.

llvm-svn: 183727
This commit is contained in:
NAKAMURA Takumi 2013-06-11 06:52:43 +00:00
parent 8018a29d06
commit 76380ab4c0
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ MCAsmBackend *llvm::createARMAsmBackend(const Target &T, StringRef TT, StringRef
return new DarwinARMAsmBackend(T, TT, CS);
}
if (TheTriple.isOSWindows())
if (TheTriple.isOSBinFormatCOFF())
assert(0 && "Windows not supported on ARM");
uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(Triple(TT).getOS());