Lines Matching refs:fcall
95 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
101 && fcall->extended_value >= func->op_array.required_num_args in zend_try_inline_call()
110 if (fcall->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_try_inline_call()
124 if (fcall->extended_value < func->op_array.num_args) { in zend_try_inline_call()
126 i = fcall->extended_value; in zend_try_inline_call()
209 zend_op *fcall = call_stack[call].opline; in zend_optimize_func_calls() local
211 if (fcall->opcode == ZEND_INIT_FCALL) { in zend_optimize_func_calls()
213 } else if (fcall->opcode == ZEND_INIT_FCALL_BY_NAME) { in zend_optimize_func_calls()
214 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
215 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
216 literal_dtor(&ZEND_OP2_LITERAL(fcall)); in zend_optimize_func_calls()
217 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
219 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
221 } else if (fcall->opcode == ZEND_INIT_NS_FCALL_BY_NAME) { in zend_optimize_func_calls()
222 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
223 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
224 literal_dtor(&op_array->literals[fcall->op2.constant]); in zend_optimize_func_calls()
225 literal_dtor(&op_array->literals[fcall->op2.constant + 2]); in zend_optimize_func_calls()
226 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
228 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
230 } else if (fcall->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_optimize_func_calls()
231 || fcall->opcode == ZEND_INIT_METHOD_CALL in zend_optimize_func_calls()
232 || fcall->opcode == ZEND_NEW) { in zend_optimize_func_calls()
241 zend_try_inline_call(op_array, fcall, opline, call_stack[call].func); in zend_optimize_func_calls()