This commit is contained in:
Vitor Santos Costa 2019-04-24 10:31:05 +01:00
parent 71fc7238ff
commit a87654b0b0

View File

@ -151,8 +151,9 @@ clean_complex_tr(tr_fr_ptr TR0 USES_REGS) {
}
#define expand_stack(S0,SP,SF,TYPE) \
{ size_t sz = SF-S0, used = SP-S0; \
S0 = Realloc(S0, (1024+sz)*sizeof(TYPE) PASS_REGS); \
{ size_t sz = SF-S0, used = SP-S0;\
sz = 1024+sz; \
S0 = Realloc(S0, sz*sizeof(TYPE) PASS_REGS); \
SP = S0+used; SF = S0+sz; }
#define MIN_ARENA_SIZE (1048L)