summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ADT/Statistic.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/include/llvm/ADT/Statistic.h b/llvm/include/llvm/ADT/Statistic.h
index 57e7253c5c7..320e5c12259 100644
--- a/llvm/include/llvm/ADT/Statistic.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud