summaryrefslogtreecommitdiffstats
path: root/tcg/sparc/tcg-target.c.inc
diff options
context:
space:
mode:
authorRichard Henderson2020-10-28 22:48:55 +0100
committerRichard Henderson2021-01-07 16:09:41 +0100
commit8b5c2b6260c0bb1233f605663bec9582b55d80c9 (patch)
treec9ce641112e65ecdf1bd4bfdb594c0533c2d162b /tcg/sparc/tcg-target.c.inc
parenttcg: Move tcg prologue pointer out of TCGContext (diff)
downloadqemu-8b5c2b6260c0bb1233f605663bec9582b55d80c9.tar.gz
qemu-8b5c2b6260c0bb1233f605663bec9582b55d80c9.tar.xz
qemu-8b5c2b6260c0bb1233f605663bec9582b55d80c9.zip
tcg: Move tcg epilogue pointer out of TCGContext
This value is constant across all thread-local copies of TCGContext, so we might as well move it out of thread-local storage. Reviewed-by: Joelle van Dyne <j@getutm.app> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/sparc/tcg-target.c.inc')
-rw-r--r--tcg/sparc/tcg-target.c.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/sparc/tcg-target.c.inc b/tcg/sparc/tcg-target.c.inc
index 6e2d755f6a..5b3bc91b05 100644
--- a/tcg/sparc/tcg-target.c.inc
+++ b/tcg/sparc/tcg-target.c.inc
@@ -1038,7 +1038,7 @@ static void tcg_target_qemu_prologue(TCGContext *s)
tcg_out_nop(s);
/* Epilogue for goto_ptr. */
- s->code_gen_epilogue = s->code_ptr;
+ tcg_code_gen_epilogue = s->code_ptr;
tcg_out_arithi(s, TCG_REG_G0, TCG_REG_I7, 8, RETURN);
/* delay slot */
tcg_out_movi_imm13(s, TCG_REG_O0, 0);