mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +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…
Reference in New Issue
Block a user