1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00

JIT/ARM64: Fixed possible incorrect register allocation

This commit is contained in:
Dmitry Stogov
2021-06-17 18:43:15 +03:00
parent c02d7c4de8
commit d72c320ff6
+1 -1
View File
@@ -14118,7 +14118,7 @@ static bool zend_jit_opline_supports_reg(const zend_op_array *op_array, zend_ssa
op2_info = OP2_INFO();
return
opline->op1_type == IS_CV &&
!(op1_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_RESOURCE|MAY_BE_REF)) &&
!(op1_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_RESOURCE|MAY_BE_OBJECT|MAY_BE_REF)) &&
!(op2_info & ((MAY_BE_ANY|MAY_BE_REF|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE)));
case ZEND_ADD:
case ZEND_SUB: