From: Bruno Larsen (billionai) <bruno.lar...@eldorado.org.br>

> This function requires surce code modification to be useful, which means it

> probably is not used often, and the move to using decodetree means the

> statistics won't even be collected anymore.

>

> Also removed setting dump_statistics in ppc_cpu_realize, since it was only 
> useful

> when in conjunction with ppc_cpu_dump_statistics.

>

> Suggested-by: Richard 
> Henderson<richard.hender...@linaro.org<mailto:richard.hender...@linaro.org>>

> Signed-off-by: Bruno Larsen (billionai) 
> <bruno.lar...@eldorado.org.br<mailto:bruno.lar...@eldorado.org.br>>

> ---

>  target/ppc/cpu.h       |  1 -

>  target/ppc/cpu_init.c  |  3 ---

>  target/ppc/translate.c | 51 ------------------------------------------

>  3 files changed, 55 deletions(-)



It's not just that ppc_cpu_dump_statistics() wouldn't be useful, but it 
wouldn't even compile.

The change looks good.



Reviewed-by: Luis Pires 
<luis.pi...@eldorado.org.br<mailto:luis.pi...@eldorado.org.br>>


Luis Pires
Instituto de Pesquisas ELDORADO<http://www.eldorado.org.br/>
Departamento de Computação Embarcada
Aviso Legal - Disclaimer<https://www.eldorado.org.br/disclaimer.html>

Reply via email to