Skip to content

Commit 2804f35

Browse files
committed
Fix an unused variable warning
(cherry picked from commit ea9850b)
1 parent 533d98b commit 2804f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ void ARMConstantIslands::verify() {
330330
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
331331
/// print block size and offset information - debugging
332332
LLVM_DUMP_METHOD void ARMConstantIslands::dumpBBs() {
333-
BBInfoVector &BBInfo = BBUtils->getBBInfo();
334333
LLVM_DEBUG({
334+
BBInfoVector &BBInfo = BBUtils->getBBInfo();
335335
for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) {
336336
const BasicBlockInfo &BBI = BBInfo[J];
337337
dbgs() << format("%08x %bb.%u\t", BBI.Offset, J)

0 commit comments

Comments
 (0)