Lines Matching refs:opcode
52 switch (opline->opcode) { in zend_delete_call_instructions()
80 opline->opcode = ZEND_CHECK_VAR; in zend_delete_call_instructions()
84 opline->opcode = ZEND_FREE; in zend_delete_call_instructions()
102 && func->op_array.opcodes[func->op_array.num_args].opcode == ZEND_RETURN) { in zend_try_inline_call()
110 if (fcall->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_try_inline_call()
140 opline->opcode = ZEND_QM_ASSIGN; in zend_try_inline_call()
182 switch (opline->opcode) { in zend_optimize_func_calls()
194 !call_stack[call].is_prototype && opline->opcode != ZEND_NEW; in zend_optimize_func_calls()
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()
218 if (opline->opcode != ZEND_CALLABLE_CONVERT) { 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()
227 if (opline->opcode != ZEND_CALLABLE_CONVERT) { 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()
240 && opline->opcode != ZEND_CALLABLE_CONVERT) { in zend_optimize_func_calls()
258 if ((opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG || opline->opcode == ZEND_FETCH_DIM_FUNC_ARG) in zend_optimize_func_calls()
264 if (opline->opcode != ZEND_FETCH_STATIC_PROP_FUNC_ARG) { in zend_optimize_func_calls()
265 opline->opcode -= 9; in zend_optimize_func_calls()
267 opline->opcode = ZEND_FETCH_STATIC_PROP_W; in zend_optimize_func_calls()
270 if (opline->opcode == ZEND_FETCH_DIM_FUNC_ARG in zend_optimize_func_calls()
278 if (opline->opcode != ZEND_FETCH_STATIC_PROP_FUNC_ARG) { in zend_optimize_func_calls()
279 opline->opcode -= 12; in zend_optimize_func_calls()
281 opline->opcode = ZEND_FETCH_STATIC_PROP_R; in zend_optimize_func_calls()
297 opline->opcode = ZEND_SEND_VAL; in zend_optimize_func_calls()
333 opline->opcode = ZEND_SEND_REF; in zend_optimize_func_calls()
335 opline->opcode = ZEND_SEND_VAR; in zend_optimize_func_calls()
347 opline->opcode = ZEND_SEND_VAR_NO_REF; in zend_optimize_func_calls()
349 opline->opcode = ZEND_SEND_VAL; in zend_optimize_func_calls()
351 opline->opcode = ZEND_SEND_VAR; in zend_optimize_func_calls()