mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
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:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user