diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2021-04-28 11:54:00 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2021-04-28 12:00:17 +0200 |
commit | 7e5682ee6201c17b07de326806cf2d19d2f8935a (patch) | |
tree | 1d825496fd1eeb8b5c79f108bc82d1d104fd3e50 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | dca536103592cf1e92aa8316ed23f33d75da25bc (diff) | |
download | llvm-7e5682ee6201c17b07de326806cf2d19d2f8935a.zip llvm-7e5682ee6201c17b07de326806cf2d19d2f8935a.tar.gz llvm-7e5682ee6201c17b07de326806cf2d19d2f8935a.tar.bz2 |
[ADT] Make TrackingStatistic's ctor constexpr
This lets clang diagnose unused statistics, so remove them.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp index 5385793..ead953c 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp @@ -201,9 +201,6 @@ using namespace llvm; #define DEBUG_TYPE "livedebugvalues" -STATISTIC(NumInserted, "Number of DBG_VALUE instructions inserted"); -STATISTIC(NumRemoved, "Number of DBG_VALUE instructions removed"); - // Act more like the VarLoc implementation, by propagating some locations too // far and ignoring some transfers. static cl::opt<bool> EmulateOldLDV("emulate-old-livedebugvalues", cl::Hidden, |