From: ceriel Date: Thu, 9 Feb 1989 15:58:34 +0000 (+0000) Subject: Added some comments X-Git-Tag: release-5-5~2589 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=76cb7a0b3306513be52c0b3c778ba0853ed60060;p=ack.git Added some comments --- diff --git a/util/LLgen/src/alloc.c b/util/LLgen/src/alloc.c index b684da520..cbd3a4403 100644 --- a/util/LLgen/src/alloc.c +++ b/util/LLgen/src/alloc.c @@ -69,10 +69,16 @@ new_mem(p) register p_info p; { if (p->i_max >= p->i_top) { /* No more free elements */ sz = p->i_size; #if BIGMACHINE + /* + Do not worry about size. Just double it. + */ p->i_size += p->i_size; if (! p->i_size) p->i_size += p->i_incr * p->i_esize; #else + /* + Worry about size, so only increment in chunks of i_incr. + */ p->i_size += p->i_incr * p->i_esize; #endif p->i_ptr = !p->i_ptr ?