Skip to content

Commit 5b6f45e

Browse files
committed
Remove unused function
1 parent c6ee78c commit 5b6f45e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

ast.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -478,22 +478,6 @@ static inline zend_ast_attr ast_assign_op_to_binary_op(zend_ast_attr attr) {
478478
}
479479
#endif
480480

481-
static inline zend_bool ast_array_is_list(zend_ast *ast) {
482-
zend_ast_list *list = zend_ast_get_list(ast);
483-
uint32_t i;
484-
if (ast->attr != ZEND_ARRAY_SYNTAX_LIST) {
485-
return 0;
486-
}
487-
488-
for (i = 0; i < list->children; i++) {
489-
if (list->child[i] && (list->child[i]->child[1] != NULL || list->child[i]->attr)) {
490-
return 0;
491-
}
492-
}
493-
494-
return 1;
495-
}
496-
497481
static inline zend_ast **ast_get_children(zend_ast *ast, uint32_t *count) {
498482
if (ast_kind_is_decl(ast->kind)) {
499483
zend_ast_decl *decl = (zend_ast_decl *) ast;

0 commit comments

Comments
 (0)