diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2017-03-20 13:29:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-20 13:29:57 -0700 |
| commit | d2690568f9cf18c613ca2111d06ee3c2290abd2c (patch) | |
| tree | 939c4660773d7a32e6806853016cd9cf604d5a55 /Source/Core/Common/CodeBlock.h | |
| parent | 26bb26fe54f3493ddb349376bb2f53147b9bae59 (diff) | |
| parent | 4491e9b8297a4f554601f7d3167af96e32dd7831 (diff) | |
Merge pull request #5110 from MerryMage/const-pool
Jit64: Implement a constant pool
Diffstat (limited to 'Source/Core/Common/CodeBlock.h')
| -rw-r--r-- | Source/Core/Common/CodeBlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/CodeBlock.h b/Source/Core/Common/CodeBlock.h index 7bd554b9aa..28a4919e66 100644 --- a/Source/Core/Common/CodeBlock.h +++ b/Source/Core/Common/CodeBlock.h @@ -42,7 +42,7 @@ public: } // Call this before you generate any code. - void AllocCodeSpace(size_t size, bool need_low = true) + virtual void AllocCodeSpace(size_t size, bool need_low = true) { region_size = size; region = static_cast<u8*>(Common::AllocateExecutableMemory(region_size, need_low)); @@ -51,7 +51,7 @@ public: // Always clear code space with breakpoints, so that if someone accidentally executes // uninitialized, it just breaks into the debugger. - void ClearCodeSpace() + virtual void ClearCodeSpace() { PoisonMemory(); ResetCodePtr(); |
