target/nios2: Add DisasContextBase to DisasContext
commite9150ea5231683c5a591a8e3ae120abd2c970707
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 20 Jun 2021 04:44:48 +0000 (19 21:44 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 16:58:42 +0000 (29 09:58 -0700)
tree6c6896a6012e8f97552287d0db1ee65fc12015c9
parent438aabed0a44438c4a5f40d7abb3be2ffb0a8d48
target/nios2: Add DisasContextBase to DisasContext

Migrate the is_jmp, tb and singlestep_enabled fields from
DisasContext into the base.  Use pc_first instead of tb->pc.
Increment pc_next prior to decode, leaving the address of
the current insn in dc->pc.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/nios2/translate.c