Silence unused warning in non-assert builds.

llvm-svn: 283899
This commit is contained in:
Daniel Jasper 2016-10-11 16:22:36 +00:00
parent 3996caa1a6
commit b617286089
1 changed files with 1 additions and 0 deletions

View File

@ -1488,6 +1488,7 @@ void ARMFrameLowering::determineCalleeSaves(MachineFunction &MF,
MachineFrameInfo &MFI = MF.getFrameInfo();
MachineRegisterInfo &MRI = MF.getRegInfo();
const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo();
(void)TRI; // Silence unused warning in non-assert builds.
unsigned FramePtr = RegInfo->getFrameRegister(MF);
// Spill R4 if Thumb2 function requires stack realignment - it will be used as