diff options
| author | Richard Henderson | 2020-10-28 22:48:55 +0100 |
|---|---|---|
| committer | Richard Henderson | 2021-01-07 16:09:41 +0100 |
| commit | 8b5c2b6260c0bb1233f605663bec9582b55d80c9 (patch) | |
| tree | c9ce641112e65ecdf1bd4bfdb594c0533c2d162b /include | |
| parent | tcg: Move tcg prologue pointer out of TCGContext (diff) | |
| download | qemu-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 'include')
| -rw-r--r-- | include/tcg/tcg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 9cc412f90c..bb1e97b13b 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -621,7 +621,6 @@ struct TCGContext { here, because there's too much arithmetic throughout that relies on addition and subtraction working on bytes. Rely on the GCC extension that allows arithmetic on void*. */ - void *code_gen_epilogue; void *code_gen_buffer; size_t code_gen_buffer_size; void *code_gen_ptr; @@ -678,6 +677,7 @@ struct TCGContext { extern TCGContext tcg_init_ctx; extern __thread TCGContext *tcg_ctx; +extern void *tcg_code_gen_epilogue; extern TCGv_env cpu_env; static inline size_t temp_idx(TCGTemp *ts) |
