]> git.proxmox.com Git - mirror_qemu.git/commit
target/m68k: Switch over exception type in m68k_interrupt_all
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 2 Jun 2022 01:33:46 +0000 (18:33 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 2 Jun 2022 07:35:02 +0000 (09:35 +0200)
commit02ea42b36ddcd34739c9320ae2262b1d1e814a6d
treefc8ff10ce7a517f1bd79643c1cf40406f3f2f69b
parent79e1d527e13d35b976c947c48a70c23ef3586e76
target/m68k: Switch over exception type in m68k_interrupt_all

Replace an if ladder with a switch for clarity.

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220602013401.303699-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
target/m68k/op_helper.c