Searched refs:new_fn (Results 1 – 1 of 1) sorted by relevance
1589 zend_function *new_fn; in zend_add_trait_method() local1633 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function)); in zend_add_trait_method()1634 memcpy(new_fn, fn, sizeof(zend_internal_function)); in zend_add_trait_method()1635 new_fn->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED; in zend_add_trait_method()1637 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in zend_add_trait_method()1638 memcpy(new_fn, fn, sizeof(zend_op_array)); in zend_add_trait_method()1639 new_fn->op_array.fn_flags |= ZEND_ACC_TRAIT_CLONE; in zend_add_trait_method()1640 new_fn->op_array.fn_flags &= ~ZEND_ACC_IMMUTABLE; in zend_add_trait_method()1644 new_fn->common.function_name = name; in zend_add_trait_method()1645 function_add_ref(new_fn); in zend_add_trait_method()[all …]
Completed in 21 milliseconds