From 8acef12030617e7e160eee38d92bc91007c7fd94 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Wed, 6 Mar 2024 15:45:49 -0800 Subject: [NFC] [scudo] remove DCHECK (#84255) this gets checked in StackDepot::init anyway --- compiler-rt/lib/scudo/standalone/combined.h | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler-rt/lib/scudo/standalone/combined.h b/compiler-rt/lib/scudo/standalone/combined.h index fa60773..069b5f6 100644 --- a/compiler-rt/lib/scudo/standalone/combined.h +++ b/compiler-rt/lib/scudo/standalone/combined.h @@ -1570,7 +1570,6 @@ private: if (TabSize > UINT32_MAX / kFramesPerStack) return; u32 RingSize = static_cast(TabSize * kFramesPerStack); - DCHECK(isPowerOfTwo(RingSize)); uptr StackDepotSize = sizeof(StackDepot) + sizeof(atomic_u64) * RingSize + sizeof(atomic_u32) * TabSize; -- cgit v1.1