Skip to content

Commit 5ea9a7e

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/Optimizer/zend_ssa: make pointer const
1 parent efd5ecb commit 5ea9a7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/Optimizer/zend_ssa.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ static bool will_rejoin(
5757
return 0;
5858
}
5959

60-
static bool needs_pi(const zend_op_array *op_array, zend_dfg *dfg, zend_ssa *ssa, int from, int to, int var) /* {{{ */
60+
static bool needs_pi(const zend_op_array *op_array, const zend_dfg *dfg, const zend_ssa *ssa, int from, int to, int var) /* {{{ */
6161
{
62-
zend_basic_block *from_block, *to_block;
62+
const zend_basic_block *from_block, *to_block;
6363
int other_successor;
6464

6565
if (!DFG_ISSET(dfg->in, dfg->size, to, var)) {

0 commit comments

Comments
 (0)