Jit: Mark ValidBlockBitSet::Test as const

This commit is contained in:
JosJuice 2021-07-27 11:11:30 +02:00
parent 92d1d60ff1
commit ca55d599e8
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ public:
void Set(u32 bit) { m_valid_block[bit / 32] |= 1u << (bit % 32); }
void Clear(u32 bit) { m_valid_block[bit / 32] &= ~(1u << (bit % 32)); }
void ClearAll() { memset(m_valid_block.get(), 0, sizeof(u32) * VALID_BLOCK_ALLOC_ELEMENTS); }
bool Test(u32 bit) { return (m_valid_block[bit / 32] & (1u << (bit % 32))) != 0; }
bool Test(u32 bit) const { return (m_valid_block[bit / 32] & (1u << (bit % 32))) != 0; }
};
class JitBaseBlockCache