File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -1848,18 +1848,13 @@ static uint32_t get_ssa_alias_types(zend_ssa_alias_kind alias) {
1848
1848
} \
1849
1849
} \
1850
1850
if (ssa_var_info [__var ].type != __type ) { \
1851
+ if (ssa_var_info [__var ].type & ~__type ) { \
1852
+ emit_type_narrowing_warning (op_array , ssa , __var ); \
1853
+ return FAILURE ; \
1854
+ } \
1855
+ ssa_var_info [__var ].type = __type ; \
1851
1856
if (update_worklist ) { \
1852
- if (ssa_var_info [__var ].type & ~__type ) { \
1853
- emit_type_narrowing_warning (op_array , ssa , __var );\
1854
- return FAILURE ; \
1855
- } \
1856
- ssa_var_info [__var ].type = __type ; \
1857
1857
add_usages (op_array , ssa , worklist , __var ); \
1858
- } else { \
1859
- if (ssa_var_info [__var ].type & ~__type ) { \
1860
- return FAILURE ; \
1861
- } \
1862
- ssa_var_info [__var ].type = __type ; \
1863
1858
} \
1864
1859
} \
1865
1860
/*zend_bitset_excl(worklist, var);*/ \
You can’t perform that action at this time.
0 commit comments