Skip to content

Commit f77200f

Browse files
committed
Fixed JIT failure on "$a = []; $a[1] += 2;"
1 parent 7e5ed81 commit f77200f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5123,13 +5123,11 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o
51235123
break;
51245124
case BP_VAR_RW:
51255125
|2:
5126-
if (op1_info & MAY_BE_ARRAY_KEY_LONG) {
5127-
|4:
5128-
| SAVE_VALID_OPLINE opline, r0
5129-
| EXT_CALL zend_jit_hash_index_lookup_rw, r0
5130-
| test r0, r0
5131-
| jz >9
5132-
}
5126+
|4:
5127+
| SAVE_VALID_OPLINE opline, r0
5128+
| EXT_CALL zend_jit_hash_index_lookup_rw, r0
5129+
| test r0, r0
5130+
| jz >9
51335131
break;
51345132
case BP_VAR_W:
51355133
|2:

0 commit comments

Comments
 (0)