forked from OSchip/llvm-project
Silencing an "enumeral and non-enumeral type in conditional expression" warning; NFC.
llvm-svn: 232035
This commit is contained in:
parent
12865302b7
commit
c579d66b9a
|
@ -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…
Reference in New Issue