summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2017-04-07 13:49:12 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2017-04-07 13:49:12 +0000
commit9f6a5cd91d3acf3393b0bc8a2f40bc099718129e (patch)
tree1b4e7999943a921e821f08c65c6acdba479aae8e /llvm/lib/Target
parentbc54eb89ad8f8a972cd49a73ab449676131e8525 (diff)
downloadbcm5719-llvm-9f6a5cd91d3acf3393b0bc8a2f40bc099718129e.tar.gz
bcm5719-llvm-9f6a5cd91d3acf3393b0bc8a2f40bc099718129e.zip
[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
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/Mips/MipsRegisterInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsRegisterInfo.cpp b/llvm/lib/Target/Mips/MipsRegisterInfo.cpp
index 625c80b9d68..de3389b5a6b 100644
--- a/llvm/lib/Target/Mips/MipsRegisterInfo.cpp
+++ b/llvm/lib/Target/Mips/MipsRegisterInfo.cpp
@@ -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);
}
OpenPOWER on IntegriCloud