Lines Matching refs:call
45 int call = 0; in optimize_func_calls() local
64 call_stack[call].func = func; in optimize_func_calls()
74 call_stack[call].opline = opline; in optimize_func_calls()
75 call++; in optimize_func_calls()
81 call--; in optimize_func_calls()
82 if (call_stack[call].func && call_stack[call].opline) { in optimize_func_calls()
83 zend_op *fcall = call_stack[call].opline; in optimize_func_calls()
87 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in optimize_func_calls()
91 opline->opcode = zend_get_call_op(ZEND_INIT_FCALL, call_stack[call].func); in optimize_func_calls()
94 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in optimize_func_calls()
99 opline->opcode = zend_get_call_op(ZEND_INIT_FCALL, call_stack[call].func); in optimize_func_calls()
104 call_stack[call].func = NULL; in optimize_func_calls()
105 call_stack[call].opline = NULL; in optimize_func_calls()
110 if (call_stack[call - 1].func) { in optimize_func_calls()
111 …if (ARG_SHOULD_BE_SENT_BY_REF(call_stack[call - 1].func, (opline->extended_value & ZEND_FETCH_ARG_… in optimize_func_calls()
128 if (call_stack[call - 1].func) { in optimize_func_calls()
129 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in optimize_func_calls()
131 call_stack[call - 1].opline = NULL; in optimize_func_calls()
138 if (call_stack[call - 1].func) { in optimize_func_calls()
139 if (ARG_SHOULD_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in optimize_func_calls()
147 if (!(opline->extended_value & ZEND_ARG_COMPILE_TIME_BOUND) && call_stack[call - 1].func) { in optimize_func_calls()
148 if (ARG_SHOULD_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in optimize_func_calls()
158 if (opline->extended_value != ZEND_ARG_COMPILE_TIME_BOUND && call_stack[call - 1].func) { in optimize_func_calls()
160 call_stack[call - 1].opline = NULL; in optimize_func_calls()
165 call_stack[call - 1].func = NULL; in optimize_func_calls()
166 call_stack[call - 1].opline = NULL; in optimize_func_calls()