diff options
author | Richard Henderson <rth@twiddle.net> | 2013-09-14 15:09:39 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-10-10 11:43:37 -0700 |
commit | 5cd8f6210f83db15702e81b91e40e7079608e6f3 (patch) | |
tree | 58399547f7c4a63b61f67aefc5db4805ca65728b /tcg/tcg.c | |
parent | e5e84d22a3c31a674f9bb1d9ffcb92c111e13421 (diff) | |
download | qemu-5cd8f6210f83db15702e81b91e40e7079608e6f3.zip qemu-5cd8f6210f83db15702e81b91e40e7079608e6f3.tar.gz qemu-5cd8f6210f83db15702e81b91e40e7079608e6f3.tar.bz2 |
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>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r-- | tcg/tcg.c | 8 |
1 files changed, 7 insertions, 1 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); } |