Lines Matching refs:call

48 	int call = 0;  in zend_delete_call_instructions()  local
57 if (call == 0) { in zend_delete_call_instructions()
65 call--; in zend_delete_call_instructions()
71 call++; in zend_delete_call_instructions()
75 if (call == 0) { in zend_delete_call_instructions()
163 int call = 0; in zend_optimize_func_calls() local
181 call_stack[call].func = zend_optimizer_get_called_func( in zend_optimize_func_calls()
183 call_stack[call].try_inline = opline->opcode != ZEND_NEW; in zend_optimize_func_calls()
187 call_stack[call].opline = opline; in zend_optimize_func_calls()
188 call_stack[call].func_arg_num = (uint32_t)-1; in zend_optimize_func_calls()
189 call++; in zend_optimize_func_calls()
195 call--; in zend_optimize_func_calls()
196 if (call_stack[call].func && call_stack[call].opline) { in zend_optimize_func_calls()
197 zend_op *fcall = call_stack[call].opline; in zend_optimize_func_calls()
203 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
206 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
209 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
213 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
223 && call_stack[call].try_inline) { in zend_optimize_func_calls()
224 zend_try_inline_call(op_array, fcall, opline, call_stack[call].func); in zend_optimize_func_calls()
227 call_stack[call].func = NULL; in zend_optimize_func_calls()
228 call_stack[call].opline = NULL; in zend_optimize_func_calls()
229 call_stack[call].try_inline = 0; in zend_optimize_func_calls()
230 call_stack[call].func_arg_num = (uint32_t)-1; in zend_optimize_func_calls()
236 if (call_stack[call - 1].func) { in zend_optimize_func_calls()
237 ZEND_ASSERT(call_stack[call - 1].func_arg_num != (uint32_t)-1); in zend_optimize_func_calls()
238 if (ARG_SHOULD_BE_SENT_BY_REF(call_stack[call - 1].func, call_stack[call - 1].func_arg_num)) { in zend_optimize_func_calls()
249 call_stack[call - 1].try_inline = 0; in zend_optimize_func_calls()
262 if (call_stack[call - 1].func) { in zend_optimize_func_calls()
263 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
265 call_stack[call - 1].opline = NULL; in zend_optimize_func_calls()
272 if (call_stack[call - 1].func) { in zend_optimize_func_calls()
273 call_stack[call - 1].func_arg_num = opline->op2.num; in zend_optimize_func_calls()
279 if (call_stack[call - 1].func) { in zend_optimize_func_calls()
280 call_stack[call - 1].func_arg_num = (uint32_t)-1; in zend_optimize_func_calls()
281 if (ARG_SHOULD_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
289 if (call_stack[call - 1].func) { in zend_optimize_func_calls()
290 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
292 } else if (ARG_MAY_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
302 call_stack[call - 1].try_inline = 0; in zend_optimize_func_calls()