diff options
author | Abseil Team <absl-team@google.com> | 2024-06-05 12:58:03 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-06-05 12:58:54 -0700 |
commit | 9e72bd674675db044ef1de81ff542539d26fcb1b (patch) | |
tree | 58152930bd4dc11a1d5a6c8f2842c43b33ef165f /absl | |
parent | 49e0099abce54b50fee77a75b90ddc73567f5692 (diff) |
Remove redundant check of is_soo() while prefetching heap blocks.
PiperOrigin-RevId: 640620462
Change-Id: I72c0a7f0f549404ad8310b8cebd7dd491341390b
Diffstat (limited to 'absl')
-rw-r--r-- | absl/container/internal/raw_hash_set.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/container/internal/raw_hash_set.h b/absl/container/internal/raw_hash_set.h index 9ef9a6be..2ea07e40 100644 --- a/absl/container/internal/raw_hash_set.h +++ b/absl/container/internal/raw_hash_set.h @@ -3887,7 +3887,7 @@ class raw_hash_set { // cache misses. This is intended to overlap with execution of calculating the // hash for a key. void prefetch_heap_block() const { - if (is_soo()) return; + assert(!is_soo()); #if ABSL_HAVE_BUILTIN(__builtin_prefetch) || defined(__GNUC__) __builtin_prefetch(control(), 0, 1); #endif |