diff --git a/include/llvm/ADT/Statistic.h b/include/llvm/ADT/Statistic.h index 57e7253c5c7..320e5c12259 100644 --- a/include/llvm/ADT/Statistic.h +++ b/include/llvm/ADT/Statistic.h @@ -100,16 +100,6 @@ public: return init(); } - const Statistic &operator*=(const unsigned &V) { - sys::AtomicMul(&Value, V); - return init(); - } - - const Statistic &operator/=(const unsigned &V) { - sys::AtomicDiv(&Value, V); - return init(); - } - #else // Statistics are disabled in release builds. const Statistic &operator=(unsigned Val) { @@ -140,14 +130,6 @@ public: return *this; } - const Statistic &operator*=(const unsigned &V) { - return *this; - } - - const Statistic &operator/=(const unsigned &V) { - return *this; - } - #endif // !defined(NDEBUG) || defined(LLVM_ENABLE_STATS) protected: