diff options
author | Richard Henderson <rth@twiddle.net> | 2014-03-30 14:50:30 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2015-02-12 21:21:38 -0800 |
commit | 0a7df5da986bd7ee0789f2d7b8611f2e8eee5046 (patch) | |
tree | 405c1aada4b6954816584d85fd63d81235b1c9d1 /include/exec/gen-icount.h | |
parent | 3a13c3f34ce2058e0c2decc3b0f9f56be24c9400 (diff) |
tcg: Move emit of INDEX_op_end into gen_tb_end
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/exec/gen-icount.h')
-rw-r--r-- | include/exec/gen-icount.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 221aad0bfd..a37a61d038 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -48,6 +48,8 @@ static void gen_tb_end(TranslationBlock *tb, int num_insns) gen_set_label(icount_label); tcg_gen_exit_tb((uintptr_t)tb + TB_EXIT_ICOUNT_EXPIRED); } + + *tcg_ctx.gen_opc_ptr = INDEX_op_end; } static inline void gen_io_start(void) |