aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-08-22 11:44:57 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-08-22 11:44:57 +0300
commit34a4f487c8a1ffe58fc9cf16cc577e24852b5955 (patch)
tree5cb336f7069d20ac36e97a8e2d27b31c6d855dc4 /contrib/libs
parent8ec5fa9d0aadfa2720716e2675016036b745e016 (diff)
downloadydb-34a4f487c8a1ffe58fc9cf16cc577e24852b5955.tar.gz
Update contrib/restricted/abseil-cpp to 20220623.0
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/tcmalloc/tcmalloc/span.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/tcmalloc/tcmalloc/span.cc b/contrib/libs/tcmalloc/tcmalloc/span.cc
index 87e6f29244..35e55a3f9b 100644
--- a/contrib/libs/tcmalloc/tcmalloc/span.cc
+++ b/contrib/libs/tcmalloc/tcmalloc/span.cc
@@ -18,7 +18,7 @@
#include <algorithm>
-#include "absl/base/optimization.h" // ABSL_INTERNAL_ASSUME
+#include "absl/base/optimization.h" // ABSL_ASSUME
#include "absl/numeric/bits.h"
#include "tcmalloc/common.h"
#include "tcmalloc/internal/atomic_stats_counter.h"
@@ -230,7 +230,7 @@ uint16_t Span::CalcReciprocal(size_t size) {
// TODO(djgove) These divides can be computed once at start up.
size_t reciprocal = 0;
// The spans hold objects up to kMaxSize, so it's safe to assume.
- ABSL_INTERNAL_ASSUME(size <= kMaxSize);
+ ABSL_ASSUME(size <= kMaxSize);
if (size <= SizeMap::kMultiPageSize) {
reciprocal = kBitmapScalingDenominator / (size >> kAlignmentShift);
} else {