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:
Bill Wendling 2008-11-06 21:37:09 +00:00
parent e75808cf3d
commit 44cf38c01f

View File

@ -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.