tcg: Pass last_tb by value to tb_find_fast()
authorSergey Fedorov <serge.fdrv@gmail.com>
Fri, 15 Jul 2016 17:58:42 +0000 (20:58 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Sep 2016 17:08:42 +0000 (19:08 +0200)
commit4b7e69509df2fcbfdab8c62c294dbfcfdab8a6e1
tree25576dcec26d75ee3a618960c5c78fc108d06bea
parent260150512156b475e923b853b39c354f6ddd764e
tcg: Pass last_tb by value to tb_find_fast()

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().

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Message-Id: <20160715175852.30749-3-sergey.fedorov@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpu-exec.c