aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/translate.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-03-30 14:50:30 -0700
committerRichard Henderson <rth@twiddle.net>2015-02-12 21:21:38 -0800
commit0a7df5da986bd7ee0789f2d7b8611f2e8eee5046 (patch)
tree405c1aada4b6954816584d85fd63d81235b1c9d1 /target-sparc/translate.c
parent3a13c3f34ce2058e0c2decc3b0f9f56be24c9400 (diff)
downloadqemu-0a7df5da986bd7ee0789f2d7b8611f2e8eee5046.zip
qemu-0a7df5da986bd7ee0789f2d7b8611f2e8eee5046.tar.gz
qemu-0a7df5da986bd7ee0789f2d7b8611f2e8eee5046.tar.bz2
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-sparc/translate.c')
-rw-r--r--target-sparc/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 68527d5..00015be 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -5320,7 +5320,7 @@ static inline void gen_intermediate_code_internal(SPARCCPU *cpu,
}
}
gen_tb_end(tb, num_insns);
- *tcg_ctx.gen_opc_ptr = INDEX_op_end;
+
if (spc) {
j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;
lj++;