diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2020-10-06 16:02:17 +0200 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2020-10-06 16:02:17 +0200 |
commit | b3876ef49093b17555ae058eb87bb9c70a525c49 (patch) | |
tree | 672352ff29872dd2a2d6666cff7cbb3d758cf019 /llvm/lib/CodeGen/StackMaps.cpp | |
parent | 37c74dfe72ecf4e7def22702c5a944682a7865df (diff) | |
download | llvm-b3876ef49093b17555ae058eb87bb9c70a525c49.zip llvm-b3876ef49093b17555ae058eb87bb9c70a525c49.tar.gz llvm-b3876ef49093b17555ae058eb87bb9c70a525c49.tar.bz2 |
Silence -Wunused-variable in NDEBUG mode
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
-rw-r--r-- | llvm/lib/CodeGen/StackMaps.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/StackMaps.cpp b/llvm/lib/CodeGen/StackMaps.cpp index bdcadab..a5bad76 100644 --- a/llvm/lib/CodeGen/StackMaps.cpp +++ b/llvm/lib/CodeGen/StackMaps.cpp @@ -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(); |