MC/Mach-O/ARM: Fix thinko.

llvm-svn: 122406
This commit is contained in:
Daniel Dunbar 2010-12-22 16:19:20 +00:00
parent 50ce2f06de
commit 56f13732e2
1 changed files with 1 additions and 1 deletions

View File

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