Diff for /gforth/vmgen-ex2/profile.c between versions 1.2 and 1.3

version 1.2, 2002/06/02 17:02:57 version 1.3, 2003/02/01 14:28:08
Line 70  block_count *block_insert(Inst *ip) Line 70  block_count *block_insert(Inst *ip)
   new->fallthrough = NULL;    new->fallthrough = NULL;
   new->ip = ip;    new->ip = ip;
   new->count = (long_long)0;    new->count = (long_long)0;
   new->insts = malloc(0);    new->insts = malloc(1);
   assert(new->insts != NULL);    assert(new->insts != NULL);
   new->ninsts = 0;    new->ninsts = 0;
   blocks[hash(ip)] = new;    blocks[hash(ip)] = new;

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>