Arm64Emitter: Check end of allocated space when emitting code

JitArm64 port of 5b52b3e.
This commit is contained in:
JosJuice
2021-08-22 14:21:54 +02:00
parent 867cd99de1
commit 44beaeaff5
7 changed files with 98 additions and 53 deletions

View File

@ -35,7 +35,7 @@ public:
const Common::ScopedJITPageWriteAndNoExecute enable_jit_page_writes;
AllocCodeSpace(4096);
AddChildCodeSpace(&farcode, 2048);
AddChildCodeSpace(&m_far_code, 2048);
gpr.Init(this);
fpr.Init(this);