[mips] Remove usage of debug only variable (NFC)

Fix the lld-x86_64-darwin13 buildbot by removing the declaration of a
debug only variable and instead moving the value into the debug statement.

llvm-svn: 299769
This commit is contained in:
Simon Dardis 2017-04-07 13:49:12 +00:00
parent bc54eb89ad
commit 9f6a5cd91d
1 changed files with 2 additions and 2 deletions

View File

@ -283,12 +283,12 @@ eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj,
int FrameIndex = MI.getOperand(FIOperandNum).getIndex();
uint64_t stackSize = MF.getFrameInfo().getStackSize();
int64_t spOffset = MF.getFrameInfo().getObjectOffset(FrameIndex);
unsigned alignment = MF.getFrameInfo().getObjectAlignment(FrameIndex);
DEBUG(errs() << "FrameIndex : " << FrameIndex << "\n"
<< "spOffset : " << spOffset << "\n"
<< "stackSize : " << stackSize << "\n"
<< "alignment : " << alignment << "\n");
<< "alignment : "
<< MF.getFrameInfo().getObjectAlignment(FrameIndex) << "\n");
eliminateFI(MI, FIOperandNum, FrameIndex, stackSize, spOffset);
}