llvm-svn: 50159
This commit is contained in:
Anton Korobeynikov 2008-04-23 18:19:23 +00:00
parent 87325bfdf5
commit 492641d67f

View File

@ -284,7 +284,9 @@ X86RegisterInfo::getFrameIndexOffset(MachineFunction &MF, int FI) const {
if (!hasFP(MF))
return Offset + MF.getFrameInfo()->getStackSize();
Offset += SlotSize; // Skip the saved EBP
// Skip the saved EBP
Offset += SlotSize;
// Skip the RETADDR move area
X86MachineFunctionInfo *X86FI = MF.getInfo<X86MachineFunctionInfo>();
int TailCallReturnAddrDelta = X86FI->getTCReturnAddrDelta();