mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-07 06:57:42 -07:00
target/sh4: Update DisasContextBase.insn_start
Match the extra inserts of INDEX_op_insn_start, fixing the db->num_insns != 1 assert in translator_loop. Fixes:dcd092a063("accel/tcg: Improve can_do_io management") Signed-off-by: Richard Henderson <richard.henderson@linaro.org> (cherry picked from commitca51921158) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
6466cf4131
commit
f6d315ffdf
1 changed files with 1 additions and 0 deletions
|
|
@ -2181,6 +2181,7 @@ static void decode_gusa(DisasContext *ctx, CPUSH4State *env)
|
|||
*/
|
||||
for (i = 1; i < max_insns; ++i) {
|
||||
tcg_gen_insn_start(pc + i * 2, ctx->envflags);
|
||||
ctx->base.insn_start = tcg_last_op();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue