On 12/12/2017 04:08 AM, Peter Maydell wrote: > Refactor disas_thumb2_insn() so that it generates the code for raising > an UNDEF exception for invalid insns, rather than returning a flag > which the caller must check to see if it needs to generate the UNDEF > code. This brings the function in to line with the behaviour of > disas_thumb_insn() and disas_arm_insn(). > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > This fixes the odd asymmetry of API that caused the bug fixed > in commit 7472e2efb... > --- > target/arm/translate.c | 23 ++++++++++------------- > 1 file changed, 10 insertions(+), 13 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~