1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00

Fixed incorrect condition

This commit is contained in:
Dmitry Stogov
2021-08-12 11:39:08 +03:00
parent 02b5660c0f
commit c39332d740
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5088,7 +5088,7 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
if (packed_loaded) {
| IF_NOT_Z_TYPE REG0, IS_UNDEF, >8, TMP1w
}
if (!(op1_info & (MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_HASH)) || packed_loaded) {
if (!(op1_info & MAY_BE_ARRAY_KEY_LONG) || (op1_info & MAY_BE_ARRAY_HASH) || packed_loaded) {
|2:
|4:
if (!op2_loaded) {
+1 -1
View File
@@ -5556,7 +5556,7 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
if (packed_loaded) {
| IF_NOT_Z_TYPE r0, IS_UNDEF, >8
}
if (!(op1_info & (MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_HASH)) || packed_loaded) {
if (!(op1_info & MAY_BE_ARRAY_KEY_LONG) || (op1_info & MAY_BE_ARRAY_HASH) || packed_loaded) {
|2:
|4:
if (!op2_loaded) {