Jit: Mark ValidBlockBitSet::Test as const
This commit is contained in:
parent
92d1d60ff1
commit
ca55d599e8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue