Lines Matching refs:call

47 	int call = 0;  in zend_delete_call_instructions()  local
56 if (call == 0) { in zend_delete_call_instructions()
64 call--; in zend_delete_call_instructions()
70 call++; in zend_delete_call_instructions()
74 if (call == 0) { in zend_delete_call_instructions()
154 int call = 0; in zend_optimize_func_calls() local
172 call_stack[call].func = zend_optimizer_get_called_func( in zend_optimize_func_calls()
174 call_stack[call].try_inline = opline->opcode != ZEND_NEW; in zend_optimize_func_calls()
178 call_stack[call].opline = opline; in zend_optimize_func_calls()
179 call++; in zend_optimize_func_calls()
185 call--; in zend_optimize_func_calls()
186 if (call_stack[call].func && call_stack[call].opline) { in zend_optimize_func_calls()
187 zend_op *fcall = call_stack[call].opline; 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()
197 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); 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()
205 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
215 && call_stack[call].try_inline) { in zend_optimize_func_calls()
216 zend_try_inline_call(op_array, fcall, opline, call_stack[call].func); in zend_optimize_func_calls()
219 call_stack[call].func = NULL; in zend_optimize_func_calls()
220 call_stack[call].opline = NULL; in zend_optimize_func_calls()
221 call_stack[call].try_inline = 0; in zend_optimize_func_calls()
227 if (call_stack[call - 1].func) { in zend_optimize_func_calls()
228 …if (ARG_SHOULD_BE_SENT_BY_REF(call_stack[call - 1].func, (opline->extended_value & ZEND_FETCH_ARG_… in zend_optimize_func_calls()
240 call_stack[call - 1].try_inline = 0; in zend_optimize_func_calls()
254 if (call_stack[call - 1].func) { in zend_optimize_func_calls()
255 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
257 call_stack[call - 1].opline = NULL; in zend_optimize_func_calls()
264 if (call_stack[call - 1].func) { in zend_optimize_func_calls()
265 if (ARG_SHOULD_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
273 if (call_stack[call - 1].func) { in zend_optimize_func_calls()
274 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
276 } else if (ARG_MAY_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
286 call_stack[call - 1].try_inline = 0; in zend_optimize_func_calls()