mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
tcg: Move helper registration into tcg_context_init
No longer needs to be done on a per-target basis. Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
e5e84d22a3
commit
5cd8f6210f
15 changed files with 7 additions and 48 deletions
|
@ -254,6 +254,8 @@ void tcg_pool_reset(TCGContext *s)
|
|||
s->pool_current = NULL;
|
||||
}
|
||||
|
||||
#include "helper.h"
|
||||
|
||||
void tcg_context_init(TCGContext *s)
|
||||
{
|
||||
int op, total_args, n;
|
||||
|
@ -284,7 +286,11 @@ void tcg_context_init(TCGContext *s)
|
|||
sorted_args += n;
|
||||
args_ct += n;
|
||||
}
|
||||
|
||||
|
||||
/* Register helpers. */
|
||||
#define GEN_HELPER 2
|
||||
#include "helper.h"
|
||||
|
||||
tcg_target_init(s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue