Commit 2804f355 authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Fix an unused variable warning

(cherry picked from commit ea9850b6)
parent 533d98bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -330,8 +330,8 @@ void ARMConstantIslands::verify() {
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
/// print block size and offset information - debugging
LLVM_DUMP_METHOD void ARMConstantIslands::dumpBBs() {
  BBInfoVector &BBInfo = BBUtils->getBBInfo();
  LLVM_DEBUG({
    BBInfoVector &BBInfo = BBUtils->getBBInfo();
    for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) {
      const BasicBlockInfo &BBI = BBInfo[J];
      dbgs() << format("%08x %bb.%u\t", BBI.Offset, J)