Lines Matching refs:opcode
50 switch (opline->opcode) { in zend_delete_call_instructions()
78 opline->opcode = ZEND_CHECK_VAR; in zend_delete_call_instructions()
82 opline->opcode = ZEND_FREE; in zend_delete_call_instructions()
98 && func->op_array.opcodes[func->op_array.num_args].opcode == ZEND_RETURN) { in zend_try_inline_call()
106 if (fcall->opcode == ZEND_INIT_METHOD_CALL && fcall->op1_type == IS_UNUSED) { in zend_try_inline_call()
137 opline->opcode = ZEND_QM_ASSIGN; in zend_try_inline_call()
165 switch (opline->opcode) { in zend_optimize_func_calls()
174 call_stack[call].try_inline = opline->opcode != ZEND_NEW; in zend_optimize_func_calls()
189 if (fcall->opcode == ZEND_INIT_FCALL) { in zend_optimize_func_calls()
191 } else if (fcall->opcode == ZEND_INIT_FCALL_BY_NAME) { in zend_optimize_func_calls()
192 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
197 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
198 } else if (fcall->opcode == ZEND_INIT_NS_FCALL_BY_NAME) { in zend_optimize_func_calls()
199 fcall->opcode = ZEND_INIT_FCALL; in zend_optimize_func_calls()
205 opline->opcode = zend_get_call_op(fcall, call_stack[call].func); in zend_optimize_func_calls()
206 } else if (fcall->opcode == ZEND_INIT_STATIC_METHOD_CALL in zend_optimize_func_calls()
207 || fcall->opcode == ZEND_INIT_METHOD_CALL in zend_optimize_func_calls()
208 || fcall->opcode == ZEND_NEW) { in zend_optimize_func_calls()
230 if (opline->opcode != ZEND_FETCH_STATIC_PROP_FUNC_ARG) { in zend_optimize_func_calls()
231 opline->opcode -= 9; in zend_optimize_func_calls()
233 opline->opcode = ZEND_FETCH_STATIC_PROP_W; in zend_optimize_func_calls()
236 if (opline->opcode == ZEND_FETCH_DIM_FUNC_ARG in zend_optimize_func_calls()
245 if (opline->opcode != ZEND_FETCH_STATIC_PROP_FUNC_ARG) { in zend_optimize_func_calls()
246 opline->opcode -= 12; in zend_optimize_func_calls()
248 opline->opcode = ZEND_FETCH_STATIC_PROP_R; in zend_optimize_func_calls()
259 opline->opcode = ZEND_SEND_VAL; in zend_optimize_func_calls()
266 opline->opcode = ZEND_SEND_REF; in zend_optimize_func_calls()
268 opline->opcode = ZEND_SEND_VAR; in zend_optimize_func_calls()
275 opline->opcode = ZEND_SEND_VAR_NO_REF; in zend_optimize_func_calls()
277 opline->opcode = ZEND_SEND_VAL; in zend_optimize_func_calls()
279 opline->opcode = ZEND_SEND_VAR; in zend_optimize_func_calls()