Merge pull request #5110 from MerryMage/const-pool

Jit64: Implement a constant pool
This commit is contained in:
Anthony
2017-03-20 13:29:57 -07:00
committed by GitHub
14 changed files with 232 additions and 68 deletions

View File

@ -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();