From 5fc197c5644275d59f1306befd73f66aa0f87b97 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sat, 11 Aug 2018 18:13:06 +0100 Subject: [PATCH] A32/ir_emitter: Bug fix: IREmitter::ExceptionRaised using incorrect opcode --- src/frontend/A32/ir_emitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/A32/ir_emitter.cpp b/src/frontend/A32/ir_emitter.cpp index 5d435948..136b2e95 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::A64ExceptionRaised, Imm32(PC()), Imm64(static_cast(exception))); + Inst(Opcode::A32ExceptionRaised, Imm32(PC()), Imm64(static_cast(exception))); } IR::U32 IREmitter::GetCpsr() {