Lines Matching refs:fcall
79 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
85 && fcall->extended_value >= func->op_array.required_num_args in zend_try_inline_call()
94 if (fcall->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_try_inline_call()
108 if (fcall->extended_value < func->op_array.num_args) { in zend_try_inline_call()
110 i = fcall->extended_value; in zend_try_inline_call()
196 zend_op *fcall = call_stack[call].opline; in zend_optimize_func_calls() local
198 if (fcall->opcode == ZEND_INIT_FCALL) { in zend_optimize_func_calls()
200 } else if (fcall->opcode == ZEND_INIT_FCALL_BY_NAME) { in zend_optimize_func_calls()
201 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
202 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
203 literal_dtor(&ZEND_OP2_LITERAL(fcall)); in zend_optimize_func_calls()
204 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
206 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
208 } else if (fcall->opcode == ZEND_INIT_NS_FCALL_BY_NAME) { in zend_optimize_func_calls()
209 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
210 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
211 literal_dtor(&op_array->literals[fcall->op2.constant]); in zend_optimize_func_calls()
212 literal_dtor(&op_array->literals[fcall->op2.constant + 2]); in zend_optimize_func_calls()
213 fcall->op2.constant = fcall->op2.constant + 1; in zend_optimize_func_calls()
215 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
217 } else if (fcall->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_optimize_func_calls()
218 || fcall->opcode == ZEND_INIT_METHOD_CALL in zend_optimize_func_calls()
219 || fcall->opcode == ZEND_INIT_PARENT_PROPERTY_HOOK_CALL in zend_optimize_func_calls()
220 || fcall->opcode == ZEND_NEW) { in zend_optimize_func_calls()
229 zend_try_inline_call(op_array, fcall, opline, call_stack[call].func); in zend_optimize_func_calls()