Skip to content

Commit ced8e88

Browse files
committed
JIT/x86: Fixed possible incorrect register allocation
1 parent 1082669 commit ced8e88

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
@@ -15316,7 +15316,7 @@ static zend_bool zend_jit_opline_supports_reg(const zend_op_array *op_array, zen
1531615316
op2_info = OP2_INFO();
1531715317
return
1531815318
opline->op1_type == IS_CV &&
15319-
!(op1_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_RESOURCE|MAY_BE_REF)) &&
15319+
!(op1_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_RESOURCE|MAY_BE_OBJECT|MAY_BE_REF)) &&
1532015320
!(op2_info & ((MAY_BE_ANY|MAY_BE_REF|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE)));
1532115321
case ZEND_ADD:
1532215322
case ZEND_SUB:

0 commit comments

Comments
 (0)