mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
accel/tcg: Remove CPUState.icount_decr_ptr
We can now access icount_decr directly. Reviewed-by: Anton Johansson <anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
3b3d7df545
commit
e62de98111
3 changed files with 2 additions and 5 deletions
|
@ -432,7 +432,6 @@ int cpu_exec(CPUState *cpu);
|
|||
static inline void cpu_set_cpustate_pointers(ArchCPU *cpu)
|
||||
{
|
||||
cpu->parent_obj.env_ptr = &cpu->env;
|
||||
cpu->parent_obj.icount_decr_ptr = &cpu->parent_obj.neg.icount_decr;
|
||||
}
|
||||
|
||||
/* Validate correct placement of CPUArchState. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue