mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
The stack alignment is now computed dynamically, just verify it is correct.
llvm-svn: 27380
This commit is contained in:
parent
264e4a438a
commit
4601b86ad0
@ -321,7 +321,8 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
|
|||||||
|
|
||||||
// Remember the required stack alignment in case targets need it to perform
|
// Remember the required stack alignment in case targets need it to perform
|
||||||
// dynamic stack alignment.
|
// dynamic stack alignment.
|
||||||
FFI->setMaxAlignment(MaxAlign);
|
assert(FFI->getMaxAlignment() == MaxAlign &&
|
||||||
|
"Stack alignment calculation broken!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user