Skip to content

Commit 1b90c2c

Browse files
committed
Zend/Optimizer/zend_dfg.c: rename function
This is because symbols with leading _ are reserved by the C standard
1 parent 165e89f commit 1b90c2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/Optimizer/zend_dfg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "zend_compile.h"
2020
#include "zend_dfg.h"
2121

22-
static zend_always_inline void _zend_dfg_add_use_def_op(const zend_op_array *op_array, const zend_op *opline, uint32_t build_flags, zend_bitset use, zend_bitset def) /* {{{ */
22+
static zend_always_inline void zend_dfg_add_use_def_op_impl(const zend_op_array *op_array, const zend_op *opline, uint32_t build_flags, zend_bitset use, zend_bitset def) /* {{{ */
2323
{
2424
uint32_t var_num;
2525
const zend_op *next;
@@ -245,7 +245,7 @@ static zend_always_inline void _zend_dfg_add_use_def_op(const zend_op_array *op_
245245

246246
ZEND_API void zend_dfg_add_use_def_op(const zend_op_array *op_array, const zend_op *opline, uint32_t build_flags, zend_bitset use, zend_bitset def) /* {{{ */
247247
{
248-
_zend_dfg_add_use_def_op(op_array, opline, build_flags, use, def);
248+
zend_dfg_add_use_def_op_impl(op_array, opline, build_flags, use, def);
249249
}
250250
/* }}} */
251251

@@ -279,7 +279,7 @@ void zend_build_dfg(const zend_op_array *op_array, const zend_cfg *cfg, const ze
279279
b_def = DFG_BITSET(def, set_size, j);
280280
for (; opline < end; opline++) {
281281
if (opline->opcode != ZEND_OP_DATA) {
282-
_zend_dfg_add_use_def_op(op_array, opline, build_flags, b_use, b_def);
282+
zend_dfg_add_use_def_op_impl(op_array, opline, build_flags, b_use, b_def);
283283
}
284284
}
285285
}

0 commit comments

Comments
 (0)