diff options
author | Peter Crosthwaite <crosthwaitepeter@gmail.com> | 2015-06-23 19:31:17 -0700 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-07-09 15:20:40 +0200 |
commit | 3d57f7893c90d911d786cb2c622b0926fc808b57 (patch) | |
tree | 3bbc92f2a940392f785eb6e6ec6d638a1318c7eb /target-xtensa | |
parent | f7ec7f7b269813603b1d64bb9833f9e711f0115c (diff) |
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 <afaerber@suse.de>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-xtensa')
0 files changed, 0 insertions, 0 deletions