mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Voidify zend_ssa_find_sccs()
It always returned SUCCESS
This commit is contained in:
parent
57e4bd2be3
commit
ad3544b08c
4 changed files with 4 additions and 10 deletions
|
@ -210,7 +210,7 @@ static void zend_ssa_check_scc_var(const zend_op_array *op_array, zend_ssa *ssa,
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
ZEND_API int zend_ssa_find_sccs(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */
|
||||
ZEND_API void zend_ssa_find_sccs(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */
|
||||
{
|
||||
int index = 0, *dfs, *root;
|
||||
zend_worklist_stack stack;
|
||||
|
@ -251,8 +251,6 @@ ZEND_API int zend_ssa_find_sccs(const zend_op_array *op_array, zend_ssa *ssa) /*
|
|||
ZEND_WORKLIST_STACK_FREE_ALLOCA(&stack, stack_use_heap);
|
||||
free_alloca(root, root_use_heap);
|
||||
free_alloca(dfs, dfs_use_heap);
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue