]> Git Repo - qemu.git/commit
cpu: Change tcg_cpu_exec() arg to cpu, not env
authorPeter Crosthwaite <[email protected]>
Wed, 24 Jun 2015 02:31:17 +0000 (19:31 -0700)
committerAndreas Färber <[email protected]>
Thu, 9 Jul 2015 13:20:40 +0000 (15:20 +0200)
commit3d57f7893c90d911d786cb2c622b0926fc808b57
tree3bbc92f2a940392f785eb6e6ec6d638a1318c7eb
parentf7ec7f7b269813603b1d64bb9833f9e711f0115c
cpu: Change tcg_cpu_exec() arg to cpu, not env

The sole caller of this function navigates the cpu->env_ptr only for
this function to take it back the cpu pointer straight away. Pass in
cpu pointer instead and grab the env pointer locally in the function.
Removes a core code usage of ENV_GET_CPU().

Reviewed-by: Andreas Färber <[email protected]>
Reviewed-by: Eduardo Habkost <[email protected]>
Signed-off-by: Peter Crosthwaite <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
cpus.c
This page took 0.025164 seconds and 4 git commands to generate.