mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
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:
parent
7dca8e2d73
commit
4672f71ac4
@ -321,7 +321,8 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
|
||||
|
||||
// Remember the required stack alignment in case targets need it to perform
|
||||
// dynamic stack alignment.
|
||||
FFI->setMaxAlignment(MaxAlign);
|
||||
assert(FFI->getMaxAlignment() == MaxAlign &&
|
||||
"Stack alignment calculation broken!");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user