diff options
author | Sergey Fedorov <serge.fdrv@gmail.com> | 2016-07-15 20:58:42 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-13 19:08:42 +0200 |
commit | 4b7e69509df2fcbfdab8c62c294dbfcfdab8a6e1 (patch) | |
tree | 25576dcec26d75ee3a618960c5c78fc108d06bea /translate-all.c | |
parent | 260150512156b475e923b853b39c354f6ddd764e (diff) |
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>
Diffstat (limited to 'translate-all.c')
0 files changed, 0 insertions, 0 deletions