mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-09 07:58:16 +01:00
IR: Add Breakpoint IR instruction (for debugging purposes, emits a host-breakpoint)
This commit is contained in:
parent
39563c8ea8
commit
ca40015145
4 changed files with 11 additions and 0 deletions
|
|
@ -87,6 +87,10 @@ CodePtr EmitX64::Emit(const Arm::LocationDescriptor descriptor, Dynarmic::IR::Bl
|
|||
return code_ptr;
|
||||
}
|
||||
|
||||
void EmitX64::EmitBreakpoint(IR::Block&, IR::Inst*) {
|
||||
code->INT3();
|
||||
}
|
||||
|
||||
void EmitX64::EmitIdentity(IR::Block& block, IR::Inst* inst) {
|
||||
// TODO: Possible unnecessary mov here.
|
||||
reg_alloc.UseDefRegister(inst->GetArg(0), inst, any_gpr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue