diff options
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_allocator64.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator64.h b/compiler-rt/lib/sanitizer_common/sanitizer_allocator64.h index 444a561eeca..8df9bdcdf95 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator64.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator64.h @@ -149,9 +149,7 @@ class SizeClassAllocator64 { LifoListNode *free_list; uptr allocated_user; // Bytes allocated for user memory. uptr allocated_meta; // Bytes allocated for metadata. - char padding[kCacheLineSize - - sizeof(mutex) - sizeof(free_list) - - sizeof(allocated_user) - sizeof(allocated_meta)]; + char padding[kCacheLineSize - 4 * sizeof(uptr)]; }; COMPILER_CHECK(sizeof(RegionInfo) == kCacheLineSize); |

