pike.git/
src/
interpret.c
Branch:
Tag:
Non-build tags
All tags
No tags
2012-07-04
2012-07-04 18:18:01 by Arne Goedeke <el@laramies.com>
fcaf06fe793a6c81be8444e39b28b424ff85f584 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
arne/block_alloc
disabled inlining or allocator functions
1931:
#include "gjalloc.h" struct block_allocator pike_frame_allocator = BA_INIT_PAGES(sizeof(struct pike_frame), 4*PIKE_MALLOC_PAGE_SIZE);
+
ATTRIBUTE((malloc))
INLINE struct pike_frame * alloc_pike_frame() { struct pike_frame * f = (struct pike_frame *)ba_alloc(&pike_frame_allocator); INIT_BLOCK(f); return f; }
-
INLINE
void really_free_pike_frame(struct pike_frame * f) {
+
void really_free_pike_frame(struct pike_frame * f) {
EXIT_BLOCK(f); ba_free(&pike_frame_allocator, f); }