mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
fix the stack alignment
llvm-svn: 30766
This commit is contained in:
parent
f679bdf121
commit
f35563ff66
@ -139,6 +139,9 @@ void ARMRegisterInfo::emitPrologue(MachineFunction &MF) const {
|
||||
NumBytes += MFI->getMaxCallFrameSize();
|
||||
}
|
||||
|
||||
// Align to 8 bytes
|
||||
NumBytes = ((NumBytes + 7) / 8) * 8;
|
||||
|
||||
MFI->setStackSize(NumBytes);
|
||||
|
||||
//sub sp, sp, #NumBytes
|
||||
|
Loading…
Reference in New Issue
Block a user