From f77200f5c6cbca064070bd0de555665d767673be Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 25 Aug 2020 16:08:33 +0300 Subject: [PATCH] Fixed JIT failure on "$a = []; $a[1] += 2;" --- ext/opcache/jit/zend_jit_x86.dasc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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: -- 2.50.1