MC/Mach-O/ARM: Fix thinko.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122406 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-12-22 16:19:20 +00:00
parent 33a38a1b5a
commit fdfbc6a652

View File

@ -236,7 +236,7 @@ public:
bool is64Bit() const { return TargetObjectWriter->is64Bit(); } bool is64Bit() const { return TargetObjectWriter->is64Bit(); }
bool isARM() const { bool isARM() const {
uint32_t CPUType = TargetObjectWriter->getCPUType() & mach::CTFM_ArchMask; uint32_t CPUType = TargetObjectWriter->getCPUType() & ~mach::CTFM_ArchMask;
return CPUType == mach::CTM_ARM; return CPUType == mach::CTM_ARM;
} }