Skip to content

Commit c02d7c4

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: JIT/x86: Fixed possible incorrect register allocation
2 parents 6318040 + ced8e88 commit c02d7c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14974,7 +14974,7 @@ static bool zend_jit_opline_supports_reg(const zend_op_array *op_array, zend_ssa
1497414974
op2_info = OP2_INFO();
1497514975
return
1497614976
opline->op1_type == IS_CV &&
14977-
!(op1_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_RESOURCE|MAY_BE_REF)) &&
14977+
!(op1_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_RESOURCE|MAY_BE_OBJECT|MAY_BE_REF)) &&
1497814978
!(op2_info & ((MAY_BE_ANY|MAY_BE_REF|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE)));
1497914979
case ZEND_ADD:
1498014980
case ZEND_SUB:

0 commit comments

Comments
 (0)