diff options
author | Richard Henderson | 2018-10-06 18:05:30 +0200 |
---|---|---|
committer | Richard Henderson | 2018-10-19 03:58:10 +0200 |
commit | d7f425fdea991f052241c6479acd9feae834063b (patch) | |
tree | 02fecbecf11af94168af50acfd5ece68cb4abd54 /accel | |
parent | Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2018-10-1... (diff) | |
download | qemu-d7f425fdea991f052241c6479acd9feae834063b.tar.gz qemu-d7f425fdea991f052241c6479acd9feae834063b.tar.xz qemu-d7f425fdea991f052241c6479acd9feae834063b.zip |
tcg: Implement CPU_LOG_TB_NOCHAIN during expansion
Rather than test NOCHAIN before linking, do not emit the
goto_tb opcode at all. We already do this for goto_ptr.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel')
-rw-r--r-- | accel/tcg/cpu-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index 6bcb6d99bd..870027d435 100644 --- a/accel/tcg/cpu-exec.c +++ b/accel/tcg/cpu-exec.c @@ -416,7 +416,7 @@ static inline TranslationBlock *tb_find(CPUState *cpu, } #endif /* See if we can patch the calling TB. */ - if (last_tb && !qemu_loglevel_mask(CPU_LOG_TB_NOCHAIN)) { + if (last_tb) { tb_add_jump(last_tb, tb_exit, tb); } return tb; |