diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-09-29 19:35:26 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-04 11:03:54 -0700 |
commit | 935f75ae639bab5e443aeea7c79a78b949c55fe8 (patch) | |
tree | 11f8da1c7d109270dbc929185fe23d552470228f /tcg | |
parent | 43e7a2d3f9d2c09c22f494f282dc8a421d3e649f (diff) |
tcg: Remove argument to tcg_prologue_init
We can load tcg_ctx just as easily within the callee.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/tcg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1395,8 +1395,9 @@ TranslationBlock *tcg_tb_alloc(TCGContext *s) return tb; } -void tcg_prologue_init(TCGContext *s) +void tcg_prologue_init(void) { + TCGContext *s = tcg_ctx; size_t prologue_size; s->code_ptr = s->code_gen_ptr; |