aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-31 17:07:36 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-31 17:07:36 +0000
commita208e54a2f97494ccb5f7ba0b852cc1e308ab668 (patch)
treec40abd09789d1f23b4714c91780bc48f834bb5ef /translate-all.c
parent663715fbe2f63d651458179952f70769ab38f6f9 (diff)
TCG op size estimation fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4154 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate-all.c b/translate-all.c
index 6a273a852f..061bb901a3 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -71,6 +71,7 @@ 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