Searched refs:new_fn (Results 1 – 1 of 1) sorted by relevance
1876 zend_function *new_fn; in zend_add_trait_method() local1917 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function)); in zend_add_trait_method()1918 memcpy(new_fn, fn, sizeof(zend_internal_function)); in zend_add_trait_method()1919 new_fn->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED; in zend_add_trait_method()1921 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in zend_add_trait_method()1922 memcpy(new_fn, fn, sizeof(zend_op_array)); in zend_add_trait_method()1923 new_fn->op_array.fn_flags &= ~ZEND_ACC_IMMUTABLE; in zend_add_trait_method()1925 new_fn->common.fn_flags |= ZEND_ACC_TRAIT_CLONE; in zend_add_trait_method()1928 new_fn->common.function_name = name; in zend_add_trait_method()1929 function_add_ref(new_fn); in zend_add_trait_method()[all …]
Completed in 14 milliseconds