On 08/09/2016 14:44, Alex Bennée wrote:
>> > cpu->tb_flushed = false; /* reset before first TB lookup */
>> > for(;;) {
>> > cpu_handle_interrupt(cpu, &last_tb);
>> > -tb = tb_find_fast(cpu, &last_tb, tb_exit);
>> > +tb =
Paolo Bonzini writes:
> From: Sergey Fedorov
>
> This is a small clean up. tb_find_fast() is a final consumer of this
> variable so no need to pass it by reference. 'last_tb' is always updated
> by subsequent cpu_loop_exec_tb() in cpu_exec().
>
> @@ -621,7 +620,7 @@ int cpu_exec(CPUState *cpu)
From: Sergey Fedorov
This is a small clean up. tb_find_fast() is a final consumer of this
variable so no need to pass it by reference. 'last_tb' is always updated
by subsequent cpu_loop_exec_tb() in cpu_exec().
This change also simplifies calling cpu_exec_nocache() in
cpu_handle_exception().
Si