diff --git a/Source/Core/Core/PowerPC/JitArm64/Jit.cpp b/Source/Core/Core/PowerPC/JitArm64/Jit.cpp index 8f2f7e8568..cb06916f42 100644 --- a/Source/Core/Core/PowerPC/JitArm64/Jit.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/Jit.cpp @@ -225,29 +225,6 @@ void JitArm64::WriteExceptionExit(ARM64Reg dest) BR(EncodeRegTo64(dest)); } -void JitArm64::WriteExceptionExit() -{ - Cleanup(); - DoDownCount(); - - if (Profiler::g_ProfileBlocks) - EndTimeProfile(js.curBlock); - - ARM64Reg WA = gpr.GetReg(); - ARM64Reg XA = EncodeRegTo64(WA); - LDR(INDEX_UNSIGNED, WA, X29, PPCSTATE_OFF(pc)); - STR(INDEX_UNSIGNED, WA, X29, PPCSTATE_OFF(npc)); - MOVI2R(XA, (u64)&PowerPC::CheckExceptions); - BLR(XA); - LDR(INDEX_UNSIGNED, WA, X29, PPCSTATE_OFF(npc)); - STR(INDEX_UNSIGNED, WA, X29, PPCSTATE_OFF(pc)); - - MOVI2R(XA, (u64)asm_routines.dispatcher); - BR(XA); - - gpr.Unlock(WA); -} - void JitArm64::WriteExternalExceptionExit(ARM64Reg dest) { STR(INDEX_UNSIGNED, dest, X29, PPCSTATE_OFF(pc)); diff --git a/Source/Core/Core/PowerPC/JitArm64/Jit.h b/Source/Core/Core/PowerPC/JitArm64/Jit.h index 252a9e6004..e37589bf00 100644 --- a/Source/Core/Core/PowerPC/JitArm64/Jit.h +++ b/Source/Core/Core/PowerPC/JitArm64/Jit.h @@ -238,7 +238,6 @@ private: // Exits void WriteExit(u32 destination); void WriteExceptionExit(Arm64Gen::ARM64Reg dest); - void WriteExceptionExit(); void WriteExternalExceptionExit(ARM64Reg dest); void WriteExitDestInR(Arm64Gen::ARM64Reg dest);