mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
Call info should be removed, but at least we should prevent incorrect stack adjustment.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user