diff options
author | Richard Henderson | 2014-03-30 23:50:30 +0200 |
---|---|---|
committer | Richard Henderson | 2015-02-13 06:21:38 +0100 |
commit | 0a7df5da986bd7ee0789f2d7b8611f2e8eee5046 (patch) | |
tree | 405c1aada4b6954816584d85fd63d81235b1c9d1 /target-s390x | |
parent | tcg: Reduce ifdefs in tcg-op.c (diff) | |
download | qemu-0a7df5da986bd7ee0789f2d7b8611f2e8eee5046.tar.gz qemu-0a7df5da986bd7ee0789f2d7b8611f2e8eee5046.tar.xz qemu-0a7df5da986bd7ee0789f2d7b8611f2e8eee5046.zip |
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 'target-s390x')
-rw-r--r-- | target-s390x/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c index 8b36eca718..47414aaa2d 100644 --- a/target-s390x/translate.c +++ b/target-s390x/translate.c @@ -4938,7 +4938,7 @@ static inline void gen_intermediate_code_internal(S390CPU *cpu, } gen_tb_end(tb, num_insns); - *tcg_ctx.gen_opc_ptr = INDEX_op_end; + if (search_pc) { j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf; lj++; |