A32/ir_emitter: Bugfix: ExceptionRaised was producing incorrect PC
Use actual PC and not pipelined PC.
This commit is contained in:
parent
d69fceec55
commit
2524d536b0
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ void IREmitter::CallSupervisor(const IR::U32& value) {
|
|||
}
|
||||
|
||||
void IREmitter::ExceptionRaised(const Exception exception) {
|
||||
Inst(Opcode::A32ExceptionRaised, Imm32(PC()), Imm64(static_cast<u64>(exception)));
|
||||
Inst(Opcode::A32ExceptionRaised, Imm32(current_location.PC()), Imm64(static_cast<u64>(exception)));
|
||||
}
|
||||
|
||||
IR::U32 IREmitter::GetCpsr() {
|
||||
|
|
Loading…
Reference in a new issue