summaryrefslogtreecommitdiff
path: root/target/m68k/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/m68k/translate.c')
-rw-r--r--target/m68k/translate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/m68k/translate.c b/target/m68k/translate.c
index e407ba2db3..44a0ac4e2e 100644
--- a/target/m68k/translate.c
+++ b/target/m68k/translate.c
@@ -2297,7 +2297,7 @@ DISAS_INSN(arith_im)
im = tcg_const_i32(read_im32(env, s));
break;
default:
- abort();
+ g_assert_not_reached();
}
if (with_SR) {
@@ -2317,7 +2317,8 @@ DISAS_INSN(arith_im)
}
src1 = gen_get_sr(s);
break;
- case OS_LONG:
+ default:
+ /* OS_LONG; others already g_assert_not_reached. */
disas_undef(env, s, insn);
return;
}