summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-11-04 22:42:17 +0000
committerReed Kotler <rkotler@mips.com>2013-11-04 22:42:17 +0000
commit7f601b9ae95591b656289fcb2284cdcd5720c95f (patch)
tree074b5f3c043837d836d05f16e9f52f88565a948d /llvm/lib/Target
parent3fe68871dadb8a412774b15f71d153edc04ca40e (diff)
downloadbcm5719-llvm-7f601b9ae95591b656289fcb2284cdcd5720c95f.tar.gz
bcm5719-llvm-7f601b9ae95591b656289fcb2284cdcd5720c95f.zip
Make sure we don't get a warning from this variable that is only used
when compiling with DEBUG. llvm-svn: 194021
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/Mips/MipsConstantIslandPass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp b/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp
index 97fe8893d39..8fb4538edf2 100644
--- a/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp
+++ b/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp
@@ -433,6 +433,7 @@ bool MipsConstantIslands::runOnMachineFunction(MachineFunction &mf) {
// Iteratively place constant pool entries and fix up branches until there
// is no change.
unsigned NoCPIters = 0, NoBRIters = 0;
+ (void)NoBRIters;
while (true) {
DEBUG(dbgs() << "Beginning CP iteration #" << NoCPIters << '\n');
bool CPChange = false;
OpenPOWER on IntegriCloud