]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/arm: Reorg do_coproc_insn
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 6 Jan 2023 19:44:50 +0000 (11:44 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 23 Jan 2023 13:32:38 +0000 (13:32 +0000)
commit0371fa90a1b65b1536b3ff7ba583e4119c363eea
tree2ebaa5108c391f093955911578ccc16a203b03b1
parentb3aa2f21284d1d2713d0eb0253001eeebad3d582
target/arm: Reorg do_coproc_insn

Move the ri == NULL case to the top of the function and return.
This allows the else to be removed and the code unindented.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20230106194451.1213153-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c