diff options
| author | Hans Wennborg <hans@chromium.org> | 2020-02-10 14:07:41 +0100 |
|---|---|---|
| committer | Hans Wennborg <hans@chromium.org> | 2020-02-12 14:54:32 +0100 |
| commit | 2804f355820ed5358694d6952db6650000086024 (patch) | |
| tree | da89cb9b521c8181847f48df1644d22d5f390cd6 /llvm/lib | |
| parent | 533d98bdced6f75d0c7e4f42476b3bc873a113b6 (diff) | |
| download | bcm5719-llvm-2804f355820ed5358694d6952db6650000086024.tar.gz bcm5719-llvm-2804f355820ed5358694d6952db6650000086024.zip | |
Fix an unused variable warning
(cherry picked from commit ea9850b6c71d975935de15bd4128508b260165c5)
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp index 634fb89b8e8..66ad120a111 100644 --- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -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) |

