mirror of
https://github.com/php/php-src.git
synced 2026-04-25 17:08:14 +02:00
Zend/Optimizer/zend_ssa: make pointer const
This commit is contained in:
committed by
George Peter Banyard
parent
efd5ecb0f2
commit
5ea9a7e219
@@ -57,9 +57,9 @@ static bool will_rejoin(
|
||||
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;
|
||||
|
||||
if (!DFG_ISSET(dfg->in, dfg->size, to, var)) {
|
||||
|
||||
Reference in New Issue
Block a user