Common/BitSet: Amend byte size retrieval

This needs to divide by 8 to get a proper byte size for all type sizes.
The only usage of this is currently a uint64_t, so it worked by
coincidence, since sizeof(uint64_t) == 8.
This commit is contained in:
LC committed 2026-07-13 08:17:27 -04:00
1 parent 46ec2797ff
commit 9b8ae25491
2 files changed
+7 -7

No files matched your search

@@ -46,7 +46,7 @@ void IRValidation::Run(IREmitter* IREmit) {
OffsetToBlockMap.clear();
EntryBlock = nullptr;
uint32_t Count = CurrentIR.GetSSACount();
const auto Count = CurrentIR.GetSSACount();
if (Count > MaxNodes) {
NodeIsLive.Realloc(Count);
}