mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
tcg: Pass TCGHelperInfo to tcg_gen_callN
In preparation for compiling tcg/ only once, eliminate the all_helpers array. Instantiate the info structs for the generic helpers in accel/tcg/, and the structs for the target-specific helpers in each translate.c. Since we don't see all of the info structs at startup, initialize at first use, using g_once_init_* to make sure we don't race while doing so. Reviewed-by: Anton Johansson <anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@ -31,6 +31,11 @@
|
||||
#include "exec/translator.h"
|
||||
#include "exec/gen-icount.h"
|
||||
|
||||
#define HELPER_H "helper.h"
|
||||
#include "exec/helper-info.c.inc"
|
||||
#undef HELPER_H
|
||||
|
||||
|
||||
/*
|
||||
* Define if you want a BREAK instruction translated to a breakpoint
|
||||
* Active debugging connection is assumed
|
||||
|
Reference in New Issue
Block a user