pike.git/
src/
program.c
Branch:
Tag:
Non-build tags
All tags
No tags
2013-10-09
2013-10-09 15:56:24 by Arne Goedeke <el@laramies.com>
44e3401fd15f447e51d8deaf4652ddd15cd1d45d (
12
lines) (+
7
/-
5
)
[
Show
|
Annotate
]
Branch:
7.9
compiler: use new block allocator for node_s
2771:
c->compilation_depth++;
-
if (!Pike_compiler->compiler_frame) {
-
new_node_s_context();
-
}
-
+
SET_SVAL_TYPE(tmp, T_PROGRAM); if(!p) {
2826:
#define PUSH #include "compilation.h"
+
ba_init(&Pike_compiler->node_allocator, sizeof(struct node_s), 512);
+
Pike_compiler->parent_identifier=id; Pike_compiler->compiler_pass = pass;
3315:
} unuse_modules(Pike_compiler->num_used_modules);
+
+
free_all_nodes();
+
+
ba_destroy(&Pike_compiler->node_allocator);
} int sizeof_variable(int run_time_type)
4025:
exit_type_stack();
-
free_all_nodes();
+
CDFPRINTF((stderr, "th(%ld) %p end_first_pass(%d): "