diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-03 19:29:31 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-09 16:10:50 +0200 |
commit | 239fda311a6f7784bc4f732795722c909b835651 (patch) | |
tree | 902189f0c4ba2df299614e1f88cb1b454db6471c /translate-all.c | |
parent | 590bf491a49670843ee902c47f7ab1de5e9acd06 (diff) |
tcg: get rid of copy_size in TCGOpDef
copy_size is a left-over from the dyngen era, remove it.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'translate-all.c')
-rw-r--r-- | translate-all.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/translate-all.c b/translate-all.c index 91cbbc4929..efcfb9adcd 100644 --- a/translate-all.c +++ b/translate-all.c @@ -41,22 +41,6 @@ target_ulong gen_opc_pc[OPC_BUF_SIZE]; uint16_t gen_opc_icount[OPC_BUF_SIZE]; uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; -/* XXX: suppress that */ -unsigned long code_gen_max_block_size(void) -{ - static unsigned long max; - - if (max == 0) { - max = TCG_MAX_OP_SIZE; -#define DEF(s, n, copy_size) max = copy_size > max? copy_size : max; -#include "tcg-opc.h" -#undef DEF - max *= OPC_MAX_SIZE; - } - - return max; -} - void cpu_gen_init(void) { tcg_context_init(&tcg_ctx); |