Don't recalculate the stack position of the stack protector.

llvm-svn: 58815
This commit is contained in:
Bill Wendling 2008-11-06 21:37:09 +00:00
parent 8af0a362f1
commit 8b47c1e0a2
1 changed files with 2 additions and 0 deletions

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.