1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

zend_ast: Remove unused ZEND_AST_EXIT (#17417)

This AST node is no longer used since `exit()` was made a real function in
GH-13483.
This commit is contained in:
Tim Düsterhus
2025-01-09 12:23:33 +01:00
committed by GitHub
parent 757faee9ec
commit e421a44ac6
2 changed files with 0 additions and 8 deletions

View File

@@ -2150,13 +2150,6 @@ simple_list:
break;
case ZEND_AST_CLONE:
PREFIX_OP("clone ", 270, 271);
case ZEND_AST_EXIT:
if (ast->child[0]) {
FUNC_OP("exit");
} else {
APPEND_STR("exit");
}
break;
case ZEND_AST_PRINT:
PREFIX_OP("print ", 60, 61);
case ZEND_AST_INCLUDE_OR_EVAL:

View File

@@ -88,7 +88,6 @@ enum _zend_ast_kind {
ZEND_AST_SILENCE,
ZEND_AST_SHELL_EXEC,
ZEND_AST_CLONE,
ZEND_AST_EXIT,
ZEND_AST_PRINT,
ZEND_AST_INCLUDE_OR_EVAL,
ZEND_AST_UNARY_OP,