aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-09-29 19:35:26 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-04 11:03:54 -0700
commit935f75ae639bab5e443aeea7c79a78b949c55fe8 (patch)
tree11f8da1c7d109270dbc929185fe23d552470228f /linux-user
parent43e7a2d3f9d2c09c22f494f282dc8a421d3e649f (diff)
downloadqemu-935f75ae639bab5e443aeea7c79a78b949c55fe8.zip
qemu-935f75ae639bab5e443aeea7c79a78b949c55fe8.tar.gz
qemu-935f75ae639bab5e443aeea7c79a78b949c55fe8.tar.bz2
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 'linux-user')
-rw-r--r--linux-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 0a62e2b..eb66dde 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -994,7 +994,7 @@ int main(int argc, char **argv, char **envp)
/* Now that we've loaded the binary, GUEST_BASE is fixed. Delay
generating the prologue until now so that the prologue can take
the real value of GUEST_BASE into account. */
- tcg_prologue_init(tcg_ctx);
+ tcg_prologue_init();
target_cpu_copy_regs(env, regs);