diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2018-06-01 16:55:52 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2018-07-09 10:34:04 -0700 |
| commit | be0e3d7a1e148180fe1b89c7f93720db0607614e (patch) | |
| tree | ee60f05b925f339af7e2f6a9cfbd69b053ff8aaf /scripts/qapi/common.py | |
| parent | ec7eb2ae77cc207064e17ace048f7ec0c4b85d6f (diff) | |
| download | focaccia-qemu-be0e3d7a1e148180fe1b89c7f93720db0607614e.tar.gz focaccia-qemu-be0e3d7a1e148180fe1b89c7f93720db0607614e.zip | |
target/sh4: Fix translator.c assertion failure for gUSA
The translator loop does not allow the tb_start hook to set dc->base.is_jmp; the only hook allowed to do that is translate_insn. Split the work between init_disas_context where we validate the gUSA parameters, and translate_insn where we emit code. Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions