From 492641d67fdda24c1673f58261a8b950b3853269 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Wed, 23 Apr 2008 18:19:23 +0000 Subject: [PATCH] Cleanup llvm-svn: 50159 --- lib/Target/X86/X86RegisterInfo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Target/X86/X86RegisterInfo.cpp b/lib/Target/X86/X86RegisterInfo.cpp index 8b7ea5ccacb..46bf76f7578 100644 --- a/lib/Target/X86/X86RegisterInfo.cpp +++ b/lib/Target/X86/X86RegisterInfo.cpp @@ -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(); int TailCallReturnAddrDelta = X86FI->getTCReturnAddrDelta();