pike.git/
src/
interpret.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:24:11 by Arne Goedeke <el@laramies.com>
0ece9923a53f529244f9ab99c3469dd8c70fe379 (
12
lines) (+
11
/-
1
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
interpreter: use PIKE_MEMPOOL_CREATE only once
302:
PMOD_EXPORT void init_interpreter(void) {
+
#ifdef USE_VALGRIND
+
{
+
static int create_mempool = 1;
+
+
if (create_mempool) {
PIKE_MEMPOOL_CREATE(&free_pike_frame);
-
+
create_mempool = 0;
+
}
+
}
+
#endif
if (low_init_interpreter(Pike_interpreter_pointer)) { Pike_fatal("Out of memory initializing the interpreter stack.\n"); }