Return to profile.c CVS log | Up to [gforth] / gforth / vmgen-ex2 |
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; |