On 06/29/2013 01:01 PM, Andreas Färber wrote: > - CPUAlphaState *env; > + AlphaCPU *cpu;
Actually, I take this back. I'd prefer that we simply pull out the two variables that we need and place them in the DisasContext. That's the way it should have been in the first place. > @@ -3394,7 +3394,7 @@ static inline void > gen_intermediate_code_internal(AlphaCPU *cpu, > gen_opc_end = tcg_ctx.gen_opc_buf + OPC_MAX_SIZE; > > ctx.tb = tb; > - ctx.env = env; > + ctx.cpu = alpha_env_get_cpu(env); This should have been ctx.cpu = cpu anyway, apparently fixed in the next patch. r~