diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-06-04 20:52:53 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-06-04 20:52:53 -0400 |
| commit | fe77505d4ddd23614d9ea9fe8081df92b86aa07b (patch) | |
| tree | b72634e3a15872125330402ec54c94b76db91d92 /Source/Core/Common/CodeBlock.h | |
| parent | 4f276ede0f6f4682a3d956d04c0d1db73fb43c58 (diff) | |
Jit: Make IsInCodeSpace() const
Diffstat (limited to 'Source/Core/Common/CodeBlock.h')
| -rw-r--r-- | Source/Core/Common/CodeBlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/CodeBlock.h b/Source/Core/Common/CodeBlock.h index c982245912..ed1f464904 100644 --- a/Source/Core/Common/CodeBlock.h +++ b/Source/Core/Common/CodeBlock.h @@ -51,7 +51,7 @@ public: region_size = 0; } - bool IsInSpace(u8 *ptr) + bool IsInSpace(u8 *ptr) const { return (ptr >= region) && (ptr < (region + region_size)); } |
