forked from OSchip/llvm-project
Fix clang -Werror build break due to mismatched sign comparison.
Originally committed in r202985. llvm-svn: 202992
This commit is contained in:
parent
28eded3845
commit
7f4a52eaee
|
@ -327,7 +327,7 @@ void Thumb1FrameLowering::emitEpilogue(MachineFunction &MF,
|
|||
unsigned Align = MF.getTarget().getFrameLowering()->getStackAlignment();
|
||||
unsigned ArgRegsSaveSize = AFI->getArgRegsSaveSize(Align);
|
||||
int NumBytes = (int)MFI->getStackSize();
|
||||
assert(NumBytes >= ArgRegsSaveSize &&
|
||||
assert((unsigned)NumBytes >= ArgRegsSaveSize &&
|
||||
"ArgRegsSaveSize is included in NumBytes");
|
||||
const uint16_t *CSRegs = RegInfo->getCalleeSavedRegs();
|
||||
unsigned FramePtr = RegInfo->getFrameRegister(MF);
|
||||
|
|
Loading…
Reference in New Issue