The stack alignment is now computed dynamically, just verify it is correct.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-04-03 21:39:57 +00:00
parent 7dca8e2d73
commit 4672f71ac4

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