mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-16 23:19:37 +00:00
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:
parent
33a38a1b5a
commit
fdfbc6a652
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user