Skip to content

Commit

Permalink
Fix warning in inaccurate dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
fwsGonzo committed Jul 3, 2024
1 parent 35092c0 commit ed6b197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libriscv/cpu_inaccurate_dispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ INSTRUCTION(RV32I_BC_STOP, rv32i_stop)
registers().pc = pc;
trigger_exception(ILLEGAL_OPCODE, decoder->instr);

#ifdef RISCV_LIBTCC
#if defined(RISCV_BINARY_TRANSLATION) && defined(RISCV_LIBTCC)
handle_rethrow_exception:
// We have an exception, so we need to rethrow it
const auto except = CPU().current_exception();
Expand Down

0 comments on commit ed6b197

Please sign in to comment.