Jit: Make IsInCodeSpace() const
This commit is contained in:
parent
4f276ede0f
commit
fe77505d4d
|
@ -51,7 +51,7 @@ public:
|
|||
region_size = 0;
|
||||
}
|
||||
|
||||
bool IsInSpace(u8 *ptr)
|
||||
bool IsInSpace(u8 *ptr) const
|
||||
{
|
||||
return (ptr >= region) && (ptr < (region + region_size));
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
JitBaseBlockCache *GetBlockCache() { return &blocks; }
|
||||
|
||||
bool IsInCodeSpace(u8 *ptr) { return IsInSpace(ptr); }
|
||||
bool IsInCodeSpace(u8 *ptr) const { return IsInSpace(ptr); }
|
||||
|
||||
bool HandleFault(uintptr_t access_address, SContext* ctx) override;
|
||||
|
||||
|
|
Loading…
Reference in New Issue