mirror of
https://github.com/php/php-src.git
synced 2026-04-04 14:42:49 +02:00
Use quick check for first arguments
This commit is contained in:
@@ -2357,6 +2357,10 @@ ZEND_API void zend_init_execute_data(zend_execute_data *execute_data, zend_op_ar
|
||||
static zend_always_inline zend_bool zend_is_by_ref_func_arg_fetch(const zend_op *opline, zend_execute_data *call) /* {{{ */
|
||||
{
|
||||
uint32_t arg_num = opline->extended_value & ZEND_FETCH_ARG_MASK;
|
||||
|
||||
if (EXPECTED(arg_num <= MAX_ARG_FLAG_NUM)) {
|
||||
return QUICK_ARG_SHOULD_BE_SENT_BY_REF(call->func, arg_num);
|
||||
}
|
||||
return ARG_SHOULD_BE_SENT_BY_REF(call->func, arg_num);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
Reference in New Issue
Block a user