Skip to content

Commit 4c79df5

Browse files
committed
Move function back to where it was
1 parent 5a0b4e4 commit 4c79df5

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Zend/zend_compile.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3510,19 +3510,6 @@ uint32_t zend_compile_args(
35103510
}
35113511
/* }}} */
35123512

3513-
static inline zend_bool zend_args_contain_unpack_or_named(zend_ast_list *args) /* {{{ */
3514-
{
3515-
uint32_t i;
3516-
for (i = 0; i < args->children; ++i) {
3517-
zend_ast *arg = args->child[i];
3518-
if (arg->kind == ZEND_AST_UNPACK || arg->kind == ZEND_AST_NAMED_ARG) {
3519-
return 1;
3520-
}
3521-
}
3522-
return 0;
3523-
}
3524-
/* }}} */
3525-
35263513
ZEND_API zend_uchar zend_get_call_op(const zend_op *init_op, zend_function *fbc) /* {{{ */
35273514
{
35283515
if (fbc) {
@@ -3635,6 +3622,19 @@ void zend_compile_dynamic_call(znode *result, znode *name_node, zend_ast *args_a
36353622
}
36363623
/* }}} */
36373624

3625+
static inline zend_bool zend_args_contain_unpack_or_named(zend_ast_list *args) /* {{{ */
3626+
{
3627+
uint32_t i;
3628+
for (i = 0; i < args->children; ++i) {
3629+
zend_ast *arg = args->child[i];
3630+
if (arg->kind == ZEND_AST_UNPACK || arg->kind == ZEND_AST_NAMED_ARG) {
3631+
return 1;
3632+
}
3633+
}
3634+
return 0;
3635+
}
3636+
/* }}} */
3637+
36383638
int zend_compile_func_strlen(znode *result, zend_ast_list *args) /* {{{ */
36393639
{
36403640
znode arg_node;

0 commit comments

Comments
 (0)