1
0
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:
Chris Lattner 2006-04-03 21:39:57 +00:00
parent 264e4a438a
commit 4601b86ad0

View File

@ -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!");
} }