Re: [Qemu-devel] [PATCH v2 12/45] tcg: remove addr argument from lookup_tb_ptr

2017-07-17 Thread Richard Henderson
On 07/16/2017 10:03 AM, Emilio G. Cota wrote: It is unlikely that we will ever want to call this helper passing an argument other than the current PC. So just remove the argument, and use the pc we already get from cpu_get_tb_cpu_state. This change paves the way to having a common "tb_lookup" fu

[Qemu-devel] [PATCH v2 12/45] tcg: remove addr argument from lookup_tb_ptr

2017-07-16 Thread Emilio G. Cota
It is unlikely that we will ever want to call this helper passing an argument other than the current PC. So just remove the argument, and use the pc we already get from cpu_get_tb_cpu_state. This change paves the way to having a common "tb_lookup" function. Signed-off-by: Emilio G. Cota --- tcg