mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Don't recalculate the stack position of the stack protector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58815 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e75808cf3d
commit
44cf38c01f
@ -442,6 +442,8 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
|
||||
continue;
|
||||
if (FFI->isDeadObjectIndex(i))
|
||||
continue;
|
||||
if (FFI->getStackProtectorIndex() == (int)i)
|
||||
continue;
|
||||
|
||||
// If stack grows down, we need to add size of find the lowest
|
||||
// address of the object.
|
||||
|
Loading…
Reference in New Issue
Block a user