Skip to content

Commit 8acef12

Browse files
authored
[NFC] [scudo] remove DCHECK (#84255)
this gets checked in StackDepot::init anyway
1 parent e3faae9 commit 8acef12

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler-rt/lib/scudo/standalone/combined.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,6 @@ class Allocator {
15701570
if (TabSize > UINT32_MAX / kFramesPerStack)
15711571
return;
15721572
u32 RingSize = static_cast<u32>(TabSize * kFramesPerStack);
1573-
DCHECK(isPowerOfTwo(RingSize));
15741573

15751574
uptr StackDepotSize = sizeof(StackDepot) + sizeof(atomic_u64) * RingSize +
15761575
sizeof(atomic_u32) * TabSize;

0 commit comments

Comments
 (0)