mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Call info should be removed, but at least we should prevent incorrect stack adjustment.
This commit is contained in:
parent
1ee9110b35
commit
2e5e03b673
1 changed files with 3 additions and 0 deletions
|
@ -1293,6 +1293,9 @@ static int replace_constant_operands(sccp_ctx *ctx) {
|
|||
&ssa->ops[call->arg_info[i].opline - op_array->opcodes]);
|
||||
}
|
||||
removed_ops = call->num_args + 2;
|
||||
|
||||
// TODO: remove call_info completely???
|
||||
call->callee_func = NULL;
|
||||
} else {
|
||||
/* Ordinary computational instruction -> remove it */
|
||||
zend_ssa_remove_result_def(ssa, ssa_op);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue