Lines Matching refs:fcall

93 static void zend_try_inline_call(zend_op_array *op_array, zend_op *fcall, zend_op *opline, zend_fun…  in zend_try_inline_call()  argument
97 && fcall->extended_value >= func->op_array.required_num_args in zend_try_inline_call()
106 if (fcall->opcode == ZEND_INIT_METHOD_CALL && fcall->op1_type == IS_UNUSED) { in zend_try_inline_call()
121 if (fcall->extended_value < func->op_array.num_args) { in zend_try_inline_call()
123 i = fcall->extended_value; in zend_try_inline_call()
187 zend_op *fcall = call_stack[call].opline; in zend_optimize_func_calls() local
189 if (fcall->opcode == ZEND_INIT_FCALL) { in zend_optimize_func_calls()
191 } else if (fcall->opcode == ZEND_INIT_FCALL_BY_NAME) { in zend_optimize_func_calls()
192 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
193 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
194 …Z_CACHE_SLOT(op_array->literals[fcall->op2.constant + 1]) = Z_CACHE_SLOT(op_array->literals[fcall-… in zend_optimize_func_calls()
195 literal_dtor(&ZEND_OP2_LITERAL(fcall)); in zend_optimize_func_calls()
196 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
197 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
198 } else if (fcall->opcode == ZEND_INIT_NS_FCALL_BY_NAME) { in zend_optimize_func_calls()
199 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
200 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
201 …Z_CACHE_SLOT(op_array->literals[fcall->op2.constant + 1]) = Z_CACHE_SLOT(op_array->literals[fcall-… in zend_optimize_func_calls()
202 literal_dtor(&op_array->literals[fcall->op2.constant]); in zend_optimize_func_calls()
203 literal_dtor(&op_array->literals[fcall->op2.constant + 2]); in zend_optimize_func_calls()
204 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
205 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
206 } else if (fcall->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_optimize_func_calls()
207 || fcall->opcode == ZEND_INIT_METHOD_CALL in zend_optimize_func_calls()
208 || fcall->opcode == ZEND_NEW) { in zend_optimize_func_calls()
216 zend_try_inline_call(op_array, fcall, opline, call_stack[call].func); in zend_optimize_func_calls()