Skip to content

Commit d72c320

Browse files
committed
JIT/ARM64: Fixed possible incorrect register allocation
1 parent c02d7c4 commit d72c320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_arm64.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14118,7 +14118,7 @@ static bool zend_jit_opline_supports_reg(const zend_op_array *op_array, zend_ssa
1411814118
op2_info = OP2_INFO();
1411914119
return
1412014120
opline->op1_type == IS_CV &&
14121-
!(op1_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_RESOURCE|MAY_BE_REF)) &&
14121+
!(op1_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_RESOURCE|MAY_BE_OBJECT|MAY_BE_REF)) &&
1412214122
!(op2_info & ((MAY_BE_ANY|MAY_BE_REF|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE)));
1412314123
case ZEND_ADD:
1412414124
case ZEND_SUB:

0 commit comments

Comments
 (0)