pike.git/
src/
interpret.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:23:57 by Arne Goedeke <el@laramies.com>
938137ef328e8671d76d6a29b5101a4df554f480 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
typo in pike frame allocator
2000:
/* 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++;