Skip to content

Commit

Permalink
Silence -Wunused-variable in NDEBUG mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gribozavr committed Oct 6, 2020
1 parent 37c74df commit b3876ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/CodeGen/StackMaps.cpp
Expand Up @@ -409,6 +409,7 @@ void StackMaps::parseStatepointOpers(const MachineInstr &MI,

SmallVector<std::pair<unsigned, unsigned>, 8> GCPairs;
unsigned NumGCPairs = SO.getGCPointerMap(GCPairs);
(void)NumGCPairs;
LLVM_DEBUG(dbgs() << "NumGCPairs = " << NumGCPairs << "\n");

auto MOB = MI.operands_begin();
Expand Down

0 comments on commit b3876ef

Please sign in to comment.