pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1993:    } else {    res->current_creds = 0;    });       return res;    }       /* Need to allocate more. */    {    unsigned int i; - #define FRAMES_PER_CHUNK ((4096*4-8-sizeof(struct pike_frame_chunk))/sizeof(struct catch_context)) - #define FRAME_CHUNK_SIZE (FRAMES_PER_CHUNK*sizeof(struct catch_context))+sizeof(struct pike_frame_chunk) + #define FRAMES_PER_CHUNK ((4096*4-8-sizeof(struct pike_frame_chunk))/sizeof(struct pike_frame)) + #define FRAME_CHUNK_SIZE (FRAMES_PER_CHUNK*sizeof(struct pike_frame))+sizeof(struct pike_frame_chunk)       void *p = xalloc( FRAME_CHUNK_SIZE );    num_pike_frame_chunks++;    ((struct pike_frame_chunk*)p)->next = pike_frame_chunks;    pike_frame_chunks = p;    free_pike_frame = res = (struct pike_frame*)((char*)p+sizeof(struct pike_frame_chunk));    for( i=1; i<FRAMES_PER_CHUNK; i++ )    {    res->next = &free_pike_frame[i];    res = res->next;