I am an idiot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33509 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-01-25 23:18:16 +00:00
parent fab0439c62
commit 3df62bde9b

View File

@ -984,7 +984,7 @@ void ARMRegisterInfo::emitEpilogue(MachineFunction &MF,
AFI->getGPRCalleeSavedArea2Size() + AFI->getGPRCalleeSavedArea2Size() +
AFI->getDPRCalleeSavedAreaSize()); AFI->getDPRCalleeSavedAreaSize());
if (isThumb) if (isThumb)
emitSPUpdate(MBB, MBBI, -NumBytes, isThumb, TII); emitSPUpdate(MBB, MBBI, NumBytes, isThumb, TII);
else { else {
if (STI.isTargetDarwin()) { if (STI.isTargetDarwin()) {
NumBytes = AFI->getFramePtrSpillOffset() - NumBytes; NumBytes = AFI->getFramePtrSpillOffset() - NumBytes;