Searched refs:new_function (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_compile.c998 zend_function *function, *new_function; local
1010 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array));
1011 memcpy(new_function, function, sizeof(zend_op_array));
1012 if (zend_hash_add_ptr(function_table, Z_STR_P(op2), new_function) == NULL) {
H A Dzend_inheritance.c59 zend_function *new_function; local
63 new_function = pemalloc(sizeof(zend_internal_function), 1);
64 memcpy(new_function, func, sizeof(zend_internal_function));
66 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function));
67 memcpy(new_function, func, sizeof(zend_internal_function));
68 new_function->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED;
70 if (EXPECTED(new_function->common.function_name)) {
71 zend_string_addref(new_function->common.function_name);
84 new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array));
85 memcpy(new_function, fun
[all...]

Completed in 16 milliseconds