Skip to content

Commit 37058a5

Browse files
committed
JIT code generator refactoring
1 parent 97973d8 commit 37058a5

3 files changed

Lines changed: 2097 additions & 2152 deletions

File tree

ext/opcache/jit/zend_jit.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,8 +1597,7 @@ static int zend_jit_allocate_registers(zend_op_array *op_array, zend_ssa *ssa)
15971597
for (i = 0; i < ssa->vars_count; i++) {
15981598
if (/*!ssa->vars[i].no_val
15991599
&& */!(ssa->var_info[i].type & MAY_BE_REF)
1600-
&& has_concrete_type(ssa->var_info[i].type)
1601-
&& (ssa->var_info[i].type & MAY_BE_ANY) == MAY_BE_DOUBLE) {
1600+
&& zend_jit_may_be_in_reg(op_array, ssa, i)) {
16021601
zend_bitset_incl(candidates, i);
16031602
candidates_count++;
16041603
}

0 commit comments

Comments
 (0)