From 009babcc9f312e4669e4a27e130542e0af2919e2 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sat, 14 Jul 2012 09:18:02 +0000 Subject: [PATCH] Increase max allowed pre-allocation (vreg-ised) block size from 10000 to 15000. In very extreme circumstances the JIT pipeline can create huge blocks. Fixes #303250, at least for the time being. git-svn-id: svn://svn.valgrind.org/vex/trunk@2430 --- VEX/priv/host_generic_reg_alloc2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VEX/priv/host_generic_reg_alloc2.c b/VEX/priv/host_generic_reg_alloc2.c index e413929c35..af8954d5b9 100644 --- a/VEX/priv/host_generic_reg_alloc2.c +++ b/VEX/priv/host_generic_reg_alloc2.c @@ -404,9 +404,9 @@ HInstrArray* doRegisterAllocation ( vassert(0 == (N_SPILL64S % 4)); /* The live range numbers are signed shorts, and so limiting the - number of insns to 10000 comfortably guards against them + number of insns to 15000 comfortably guards against them overflowing 32k. */ - vassert(instrs_in->arr_used <= 10000); + vassert(instrs_in->arr_used <= 15000); # define INVALID_INSTRNO (-2) -- 2.47.2