mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 19:35:54 +00:00
Silencing an "enumeral and non-enumeral type in conditional expression" warning; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232035 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df0acf35f3
commit
e6a494a4bc
@ -2853,7 +2853,7 @@ ARMTargetLowering::StoreByValRegs(CCState &CCInfo, SelectionDAG &DAG,
|
||||
CCInfo.getInRegsParamInfo(InRegsParamRecordIdx, RBegin, REnd);
|
||||
} else {
|
||||
unsigned RBeginIdx = CCInfo.getFirstUnallocated(GPRArgRegs);
|
||||
RBegin = RBeginIdx == 4 ? ARM::R4 : GPRArgRegs[RBeginIdx];
|
||||
RBegin = RBeginIdx == 4 ? (unsigned)ARM::R4 : GPRArgRegs[RBeginIdx];
|
||||
REnd = ARM::R4;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user