mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-03 14:08:57 +00:00
Fix clang -Werror build break due to mismatched sign comparison.
Originally committed in r202985. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be5c5d7757
commit
986a284592
@ -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
Block a user