Lines Matching refs:func

61 		OBJ_RELEASE(ZEND_CLOSURE_OBJECT(EX(func)));  in zend_jit_leave_nested_func_helper()
102 OBJ_RELEASE(ZEND_CLOSURE_OBJECT(EX(func))); in zend_jit_leave_top_func_helper()
125 zend_op_array *op_array = &EX(func)->op_array; in zend_jit_copy_extra_args_helper()
172 zend_function *fbc = call->func; in zend_jit_deprecated_helper()
245 zend_op_array *op_array = (zend_op_array*)EX(func); in zend_jit_profile_helper()
256 (zend_jit_op_array_hot_extension*)ZEND_FUNC_INFO(&EX(func)->op_array); in zend_jit_func_counter_helper()
268 …dler = (zend_vm_opcode_handler_t)jit_extension->orig_handlers[opline - EX(func)->op_array.opcodes]; in zend_jit_func_counter_helper()
276 (zend_jit_op_array_hot_extension*)ZEND_FUNC_INFO(&EX(func)->op_array); in zend_jit_loop_counter_helper()
288 …dler = (zend_vm_opcode_handler_t)jit_extension->orig_handlers[opline - EX(func)->op_array.opcodes]; in zend_jit_loop_counter_helper()
351 (zend_jit_op_array_trace_extension*)ZEND_FUNC_INFO(&EX(func)->op_array); in zend_jit_trace_counter_helper()
462 while (ex != NULL && ex->func != NULL && ret_level < ZEND_JIT_TRACE_MAX_RET_DEPTH) { in zend_jit_trace_has_recursive_ret()
463 if (&ex->func->op_array == orig_op_array && ex->opline + 1 == orig_opline) { in zend_jit_trace_has_recursive_ret()
500 zend_function *func; in zend_jit_trace_record_fake_init_call_ex() local
510 func = call->func; in zend_jit_trace_record_fake_init_call_ex()
511 if (func->type == ZEND_INTERNAL_FUNCTION in zend_jit_trace_record_fake_init_call_ex()
512 && (func->op_array.fn_flags & (ZEND_ACC_CLOSURE|ZEND_ACC_FAKE_CLOSURE))) { in zend_jit_trace_record_fake_init_call_ex()
513 func = NULL; in zend_jit_trace_record_fake_init_call_ex()
514 } else if (func->type == ZEND_USER_FUNCTION) { in zend_jit_trace_record_fake_init_call_ex()
516 (zend_jit_op_array_trace_extension*)ZEND_FUNC_INFO(&func->op_array); in zend_jit_trace_record_fake_init_call_ex()
517 if (UNEXPECTED(!jit_extension && (func->op_array.fn_flags & ZEND_ACC_CLOSURE)) in zend_jit_trace_record_fake_init_call_ex()
519 || (func->op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE)) { in zend_jit_trace_record_fake_init_call_ex()
520 func = NULL; in zend_jit_trace_record_fake_init_call_ex()
521 } else if (func->op_array.fn_flags & ZEND_ACC_CLOSURE) { in zend_jit_trace_record_fake_init_call_ex()
522 func = (zend_function*)jit_extension->op_array; in zend_jit_trace_record_fake_init_call_ex()
526 if (!func in zend_jit_trace_record_fake_init_call_ex()
527 || (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) in zend_jit_trace_record_fake_init_call_ex()
528 || (func->common.fn_flags & ZEND_ACC_NEVER_CACHE) in zend_jit_trace_record_fake_init_call_ex()
529 || func->common.prop_info) { in zend_jit_trace_record_fake_init_call_ex()
531 func = NULL; in zend_jit_trace_record_fake_init_call_ex()
535 || func->common.scope)) { in zend_jit_trace_record_fake_init_call_ex()
536 func = NULL; in zend_jit_trace_record_fake_init_call_ex()
539 TRACE_RECORD(ZEND_JIT_TRACE_INIT_CALL, ZEND_JIT_TRACE_FAKE_INFO(init_level), func); in zend_jit_trace_record_fake_init_call_ex()
637 op_array = &EX(func)->op_array;
912 if (EX(call)->func->type == ZEND_INTERNAL_FUNCTION) {
913 zend_function *func = EX(call)->func; local
915 if ((func->op_array.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)
916 || (func->common.fn_flags & ZEND_ACC_NEVER_CACHE)
917 || func->common.prop_info) {
919 func = NULL;
920 } else if (func->op_array.fn_flags & (ZEND_ACC_CLOSURE|ZEND_ACC_FAKE_CLOSURE)) {
924 TRACE_RECORD(ZEND_JIT_TRACE_DO_ICALL, 0, func);
959 op_array = &EX(func)->op_array;
995 if (EX(func)->op_array.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) {
1000 if (EX(func)->op_array.prop_info) {
1005 if (EX(func)->op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE) {
1014 …count = zend_jit_trace_recursive_call_count(&EX(func)->op_array, unrolled_calls, ret_level, level);
1027 unrolled_calls[ret_level + level] = &EX(func)->op_array;
1036 && execute_data->prev_execute_data->func
1037 && execute_data->prev_execute_data->func->type == ZEND_USER_FUNCTION
1044 count = zend_jit_trace_recursive_ret_count(&EX(func)->op_array, unrolled_calls, ret_level);
1057 unrolled_calls[ret_level] = &EX(func)->op_array;
1078 && EX(func) == EX(prev_execute_data)->func
1116 zend_function *func; local
1120 func = EX(call)->func;
1121 if (func->type == ZEND_INTERNAL_FUNCTION
1122 && (func->op_array.fn_flags & (ZEND_ACC_CLOSURE|ZEND_ACC_FAKE_CLOSURE))) {
1123 func = NULL;
1124 } else if (func->type == ZEND_USER_FUNCTION) {
1126 (zend_jit_op_array_trace_extension*)ZEND_FUNC_INFO(&func->op_array);
1127 if (UNEXPECTED(!jit_extension && (func->op_array.fn_flags & ZEND_ACC_CLOSURE))
1129 || (func->op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE)) {
1130 func = NULL;
1131 } else if (func->op_array.fn_flags & ZEND_ACC_CLOSURE) {
1132 func = (zend_function*)jit_extension->op_array;
1140 if (!func
1141 || (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)
1142 || (func->common.fn_flags & ZEND_ACC_NEVER_CACHE)
1143 || func->common.prop_info) {
1145 func = NULL;
1148 func = NULL;
1153 func = NULL;
1156 if (!func) {
1159 TRACE_RECORD(ZEND_JIT_TRACE_INIT_CALL, info, func);