summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsISelLowering.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-11-14 18:56:20 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-11-14 18:56:20 +0000
commitd673cfe02770f30bba5e589157c2b97908c8e3a8 (patch)
treed2accc1062d74c71888791f4282208605a24831b /llvm/lib/Target/Mips/MipsISelLowering.cpp
parent04832b9210bb61c160cb6cbce40fa04ff6fb52a5 (diff)
downloadbcm5719-llvm-d673cfe02770f30bba5e589157c2b97908c8e3a8.tar.gz
bcm5719-llvm-d673cfe02770f30bba5e589157c2b97908c8e3a8.zip
Remove variable that keeps the size of area used to save byval or variable
argument registers on the callee's stack frame, along with functions that set and get it. It is not necessary to add the size of this area when computing stack size in emitPrologue, since it has already been accounted for in PEI::calculateFrameObjectOffsets. llvm-svn: 144549
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp
index 1ba138f5348..9d2cd1d612d 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.cpp
+++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp
@@ -2459,7 +2459,6 @@ CopyMips64ByValRegs(MachineFunction &MF, SDValue Chain, DebugLoc dl,
if (IsRegLoc) {
Reg = std::find(Mips64IntRegs, Mips64IntRegs + 8, VA.getLocReg());
FOOffset = (Reg - Mips64IntRegs) * 8 - 8 * 8;
- MipsFI->setRegSaveAreaSize(-FOOffset);
}
else
FOOffset = VA.getLocMemOffset();
OpenPOWER on IntegriCloud