Skip to content

Commit aa1eaac

Browse files
authored
zend_ssa minor struct changes. (#13387)
_zend_ssa_pid::has_range_constraint being the only bool, the bitfield would not bring any benefit.
1 parent 844c1ac commit aa1eaac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/Optimizer/zend_ssa.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct _zend_ssa_phi {
6767
int var; /* Original CV, VAR or TMP variable index */
6868
int ssa_var; /* SSA variable index */
6969
int block; /* current BB index */
70-
bool has_range_constraint : 1;
70+
bool has_range_constraint;
7171
zend_ssa_phi **use_chains;
7272
zend_ssa_phi *sym_use_chain;
7373
int *sources; /* Array of SSA IDs that produce this var.
@@ -112,8 +112,8 @@ typedef struct _zend_ssa_var {
112112
zend_ssa_phi *definition_phi; /* phi that defines this value */
113113
zend_ssa_phi *phi_use_chain; /* uses of this value in Phi, linked through use_chain */
114114
zend_ssa_phi *sym_use_chain; /* uses of this value in Pi constraints */
115-
unsigned int no_val : 1; /* value doesn't matter (used as op1 in ZEND_ASSIGN) */
116-
unsigned int scc_entry : 1;
115+
bool no_val : 1; /* value doesn't matter (used as op1 in ZEND_ASSIGN) */
116+
bool scc_entry : 1;
117117
unsigned int alias : 2; /* value may be changed indirectly */
118118
unsigned int escape_state : 2;
119119
} zend_ssa_var;

0 commit comments

Comments
 (0)