Merge pull request #11077 from JosJuice/jitasm-no-breakpoint

Jit64: Remove breakpoint check from JitAsm.cpp
This commit is contained in:
Admiral H. Curtiss 2022-10-16 04:02:12 +02:00 committed by GitHub
commit fbe782f1a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -91,16 +91,9 @@ void Jit64AsmRoutineManager::Generate()
if (enable_debugging) if (enable_debugging)
{ {
MOV(64, R(RSCRATCH), ImmPtr(CPU::GetStatePtr()));
TEST(32, MatR(RSCRATCH), Imm32(static_cast<u32>(CPU::State::Stepping)));
FixupBranch notStepping = J_CC(CC_Z);
ABI_PushRegistersAndAdjustStack({}, 0);
ABI_CallFunction(PowerPC::CheckBreakPoints);
ABI_PopRegistersAndAdjustStack({}, 0);
MOV(64, R(RSCRATCH), ImmPtr(CPU::GetStatePtr())); MOV(64, R(RSCRATCH), ImmPtr(CPU::GetStatePtr()));
TEST(32, MatR(RSCRATCH), Imm32(0xFFFFFFFF)); TEST(32, MatR(RSCRATCH), Imm32(0xFFFFFFFF));
dbg_exit = J_CC(CC_NZ, true); dbg_exit = J_CC(CC_NZ, true);
SetJumpTarget(notStepping);
} }
SetJumpTarget(skipToRealDispatch); SetJumpTarget(skipToRealDispatch);