Lines Matching refs:opcode
45 switch (opline->opcode) { in zend_delete_call_instructions()
85 && func->op_array.opcodes[func->op_array.num_args].opcode == ZEND_RETURN) { in zend_try_inline_call()
93 if (fcall->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_try_inline_call()
123 opline->opcode = ZEND_QM_ASSIGN; in zend_try_inline_call()
165 switch (opline->opcode) { in zend_optimize_func_calls()
177 !call_stack[call].is_prototype && opline->opcode != ZEND_NEW; in zend_optimize_func_calls()
194 if (fcall->opcode == ZEND_INIT_FCALL) { in zend_optimize_func_calls()
196 } else if (fcall->opcode == ZEND_INIT_FCALL_BY_NAME) { in zend_optimize_func_calls()
197 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
201 if (opline->opcode != ZEND_CALLABLE_CONVERT) { in zend_optimize_func_calls()
202 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
204 } else if (fcall->opcode == ZEND_INIT_NS_FCALL_BY_NAME) { in zend_optimize_func_calls()
205 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
210 if (opline->opcode != ZEND_CALLABLE_CONVERT) { in zend_optimize_func_calls()
211 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
213 } else if (fcall->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_optimize_func_calls()
214 || fcall->opcode == ZEND_INIT_METHOD_CALL in zend_optimize_func_calls()
215 || fcall->opcode == ZEND_NEW) { in zend_optimize_func_calls()
223 && opline->opcode != ZEND_CALLABLE_CONVERT) { in zend_optimize_func_calls()
241 if ((opline->opcode == ZEND_FETCH_OBJ_FUNC_ARG || opline->opcode == ZEND_FETCH_DIM_FUNC_ARG) in zend_optimize_func_calls()
247 if (opline->opcode != ZEND_FETCH_STATIC_PROP_FUNC_ARG) { in zend_optimize_func_calls()
248 opline->opcode -= 9; in zend_optimize_func_calls()
250 opline->opcode = ZEND_FETCH_STATIC_PROP_W; in zend_optimize_func_calls()
253 if (opline->opcode == ZEND_FETCH_DIM_FUNC_ARG in zend_optimize_func_calls()
261 if (opline->opcode != ZEND_FETCH_STATIC_PROP_FUNC_ARG) { in zend_optimize_func_calls()
262 opline->opcode -= 12; in zend_optimize_func_calls()
264 opline->opcode = ZEND_FETCH_STATIC_PROP_R; in zend_optimize_func_calls()
277 opline->opcode = ZEND_SEND_VAL; in zend_optimize_func_calls()
313 opline->opcode = ZEND_SEND_REF; in zend_optimize_func_calls()
315 opline->opcode = ZEND_SEND_VAR; in zend_optimize_func_calls()
327 opline->opcode = ZEND_SEND_VAR_NO_REF; in zend_optimize_func_calls()
329 opline->opcode = ZEND_SEND_VAL; in zend_optimize_func_calls()
331 opline->opcode = ZEND_SEND_VAR; in zend_optimize_func_calls()