mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
accel/tcg: Replace CPUState.env_ptr with cpu_env()
Reviewed-by: Anton Johansson <anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@@ -2657,7 +2657,7 @@ static bool canonicalize_skip(DisasContext *ctx)
|
||||
static void avr_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs)
|
||||
{
|
||||
DisasContext *ctx = container_of(dcbase, DisasContext, base);
|
||||
CPUAVRState *env = cs->env_ptr;
|
||||
CPUAVRState *env = cpu_env(cs);
|
||||
uint32_t tb_flags = ctx->base.tb->flags;
|
||||
|
||||
ctx->cs = cs;
|
||||
|
||||
Reference in New Issue
Block a user