tcg: Pass function pointer to tcg_gen_call*
commit83a0ad26737b9bca3b09fc8d27163ef6a0f28bd9
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Mar 2024 23:48:41 +0000 (14 13:48 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 30 Apr 2024 23:12:05 +0000 (30 16:12 -0700)
treec203b8a3f3b2d7c18526a3bd0388fbd2413e2349
parented30e7b1d9f5639d346fc2f0285568516e324398
tcg: Pass function pointer to tcg_gen_call*

For normal helpers, read the function pointer from the
structure earlier.  For plugins, this will allow the
function pointer to come from elsewhere.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/helper-gen.h.inc
include/tcg/tcg.h
tcg/tcg.c