zend_ssa minor struct changes. (#13387)

_zend_ssa_pid::has_range_constraint being the only bool, the bitfield would not bring
any benefit.
This commit is contained in:
David CARLIER 2024-02-14 07:41:52 +00:00 committed by GitHub
parent 844c1ac962
commit aa1eaacc41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ struct _zend_ssa_phi {
int var; /* Original CV, VAR or TMP variable index */ int var; /* Original CV, VAR or TMP variable index */
int ssa_var; /* SSA variable index */ int ssa_var; /* SSA variable index */
int block; /* current BB index */ int block; /* current BB index */
bool has_range_constraint : 1; bool has_range_constraint;
zend_ssa_phi **use_chains; zend_ssa_phi **use_chains;
zend_ssa_phi *sym_use_chain; zend_ssa_phi *sym_use_chain;
int *sources; /* Array of SSA IDs that produce this var. int *sources; /* Array of SSA IDs that produce this var.
@ -112,8 +112,8 @@ typedef struct _zend_ssa_var {
zend_ssa_phi *definition_phi; /* phi that defines this value */ zend_ssa_phi *definition_phi; /* phi that defines this value */
zend_ssa_phi *phi_use_chain; /* uses of this value in Phi, linked through use_chain */ zend_ssa_phi *phi_use_chain; /* uses of this value in Phi, linked through use_chain */
zend_ssa_phi *sym_use_chain; /* uses of this value in Pi constraints */ zend_ssa_phi *sym_use_chain; /* uses of this value in Pi constraints */
unsigned int no_val : 1; /* value doesn't matter (used as op1 in ZEND_ASSIGN) */ bool no_val : 1; /* value doesn't matter (used as op1 in ZEND_ASSIGN) */
unsigned int scc_entry : 1; bool scc_entry : 1;
unsigned int alias : 2; /* value may be changed indirectly */ unsigned int alias : 2; /* value may be changed indirectly */
unsigned int escape_state : 2; unsigned int escape_state : 2;
} zend_ssa_var; } zend_ssa_var;