From: Dmitry Stogov Date: Tue, 25 Aug 2020 13:08:33 +0000 (+0300) Subject: Fixed JIT failure on "$a = []; $a[1] += 2;" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f77200f5c6cbca064070bd0de555665d767673be;p=php Fixed JIT failure on "$a = []; $a[1] += 2;" --- diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 84c7c09128..f655c1616d 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -5123,13 +5123,11 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o break; case BP_VAR_RW: |2: - if (op1_info & MAY_BE_ARRAY_KEY_LONG) { - |4: - | SAVE_VALID_OPLINE opline, r0 - | EXT_CALL zend_jit_hash_index_lookup_rw, r0 - | test r0, r0 - | jz >9 - } + |4: + | SAVE_VALID_OPLINE opline, r0 + | EXT_CALL zend_jit_hash_index_lookup_rw, r0 + | test r0, r0 + | jz >9 break; case BP_VAR_W: |2: