mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Don't track max alignment during stack object allocations since they can be deleted later. Let PEI compute it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47668 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -475,8 +475,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
|
||||
|
||||
// Remember the required stack alignment in case targets need it to perform
|
||||
// dynamic stack alignment.
|
||||
assert(FFI->getMaxAlignment() == MaxAlign &&
|
||||
"Stack alignment calculation broken!");
|
||||
FFI->setMaxAlignment(MaxAlign);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user