Fix a misleading comment.

llvm-svn: 156603
This commit is contained in:
Akira Hatanaka 2012-05-11 01:45:15 +00:00
parent dc1e36e9f5
commit e37614438f
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ getReservedRegs(const MachineFunction &MF) const {
Reserved.set(Mips::GP_64); Reserved.set(Mips::GP_64);
} }
// If this function has dynamic allocas, reserve FP. // Reserve FP if this function should have a dedicated frame pointer register.
if (MF.getTarget().getFrameLowering()->hasFP(MF)) { if (MF.getTarget().getFrameLowering()->hasFP(MF)) {
Reserved.set(Mips::FP); Reserved.set(Mips::FP);
Reserved.set(Mips::FP_64); Reserved.set(Mips::FP_64);