mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Zend/Optimizer/zend_ssa: make pointer const
This commit is contained in:
parent
efd5ecb0f2
commit
5ea9a7e219
1 changed files with 2 additions and 2 deletions
|
@ -57,9 +57,9 @@ static bool will_rejoin(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool needs_pi(const zend_op_array *op_array, zend_dfg *dfg, zend_ssa *ssa, int from, int to, int var) /* {{{ */
|
static bool needs_pi(const zend_op_array *op_array, const zend_dfg *dfg, const zend_ssa *ssa, int from, int to, int var) /* {{{ */
|
||||||
{
|
{
|
||||||
zend_basic_block *from_block, *to_block;
|
const zend_basic_block *from_block, *to_block;
|
||||||
int other_successor;
|
int other_successor;
|
||||||
|
|
||||||
if (!DFG_ISSET(dfg->in, dfg->size, to, var)) {
|
if (!DFG_ISSET(dfg->in, dfg->size, to, var)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue