diff options
author | Reed Kotler <rkotler@mips.com> | 2013-11-04 22:42:17 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2013-11-04 22:42:17 +0000 |
commit | ba29378fdc8aa184c0d7fa08022790b7ec7d8acf (patch) | |
tree | cb7391199509034b129d21d38a5489bf0a483a54 /lib | |
parent | 9157a7eecb43cdabcc2804f118fd7777bd22977b (diff) | |
download | llvm-ba29378fdc8aa184c0d7fa08022790b7ec7d8acf.tar.gz llvm-ba29378fdc8aa184c0d7fa08022790b7ec7d8acf.tar.bz2 llvm-ba29378fdc8aa184c0d7fa08022790b7ec7d8acf.tar.xz |
Make sure we don't get a warning from this variable that is only used
when compiling with DEBUG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Mips/MipsConstantIslandPass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsConstantIslandPass.cpp b/lib/Target/Mips/MipsConstantIslandPass.cpp index 97fe8893d3..8fb4538edf 100644 --- a/lib/Target/Mips/MipsConstantIslandPass.cpp +++ b/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; |