diff --git a/src/frontend/A32/ir_emitter.cpp b/src/frontend/A32/ir_emitter.cpp index a72b1f92..481e2dbe 100644 --- a/src/frontend/A32/ir_emitter.cpp +++ b/src/frontend/A32/ir_emitter.cpp @@ -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(exception))); + Inst(Opcode::A32ExceptionRaised, Imm32(current_location.PC()), Imm64(static_cast(exception))); } IR::U32 IREmitter::GetCpsr() {