JIT: Reset relocations on restart

This commit is contained in:
Tony Wasserka committed 2026-03-17 21:37:01 +01:00
1 parent f3e904207b
commit fc8ef0e723
1 file changed
+1
@@ -841,6 +841,7 @@ CPUBackend::CompiledCode Arm64JITCore::CompileCode(uint64_t Entry, uint64_t Size
CallReturnTargets.clear();
PendingJumpThunks.clear();
JumpTargets.resize(IR->GetHeader()->BlockCount, {});
Relocations.resize(PrevNumAllocations, FEXCore::CPU::Relocation::Default()); // Discard any relocations generated from a previous attempt
CodeData.EntryPoints.clear();