1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Zend/Optimizer/zend_dfg.c: rename function

This is because symbols with leading _ are reserved by the C standard
This commit is contained in:
Gina Peter Banyard
2025-10-03 13:26:23 +01:00
parent 165e89f5f5
commit 1b90c2c855

View File

@@ -19,7 +19,7 @@
#include "zend_compile.h"
#include "zend_dfg.h"
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) /* {{{ */
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) /* {{{ */
{
uint32_t var_num;
const zend_op *next;
@@ -245,7 +245,7 @@ add_op1_def:
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) /* {{{ */
{
_zend_dfg_add_use_def_op(op_array, opline, build_flags, use, def);
zend_dfg_add_use_def_op_impl(op_array, opline, build_flags, use, def);
}
/* }}} */
@@ -279,7 +279,7 @@ void zend_build_dfg(const zend_op_array *op_array, const zend_cfg *cfg, const ze
b_def = DFG_BITSET(def, set_size, j);
for (; opline < end; opline++) {
if (opline->opcode != ZEND_OP_DATA) {
_zend_dfg_add_use_def_op(op_array, opline, build_flags, b_use, b_def);
zend_dfg_add_use_def_op_impl(op_array, opline, build_flags, b_use, b_def);
}
}
}