ARM is a legitimate Darwin architecture; don't assert.

llvm-svn: 72538
This commit is contained in:
Eli Friedman 2009-05-28 20:57:06 +00:00
parent e1dc193f35
commit 5d3a16f693
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ DarwinHostInfo::DarwinHostInfo(const Driver &D, const llvm::Triple& Triple)
: HostInfo(D, Triple) {
assert((getArchName() == "i386" || getArchName() == "x86_64" ||
getArchName() == "powerpc" || getArchName() == "powerpc64") &&
getArchName() == "powerpc" || getArchName() == "powerpc64" ||
getArchName() == "arm") &&
"Unknown Darwin arch.");
assert(memcmp(&getOSName()[0], "darwin", 6) == 0 &&