pike.git/
src/
interpret.c
Branch:
Tag:
Non-build tags
All tags
No tags
2013-08-02
2013-08-02 11:48:32 by Arne Goedeke <el@laramies.com>
5cd90732e3b087a78454d46b2c6c37c8ff9da658 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
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++;