diff options
author | Dmitry Stogov <dmitry@zend.com> | 2020-08-25 16:08:33 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2020-08-25 16:08:33 +0300 |
commit | f77200f5c6cbca064070bd0de555665d767673be (patch) | |
tree | 904020960941529685a931bd9666ed8bdc1e3063 | |
parent | 7e5ed818a4bc0ce999b38692b6ea88fadd98ec7e (diff) | |
download | php-git-f77200f5c6cbca064070bd0de555665d767673be.tar.gz |
Fixed JIT failure on "$a = []; $a[1] += 2;"
-rw-r--r-- | ext/opcache/jit/zend_jit_x86.dasc | 12 |
1 files 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: |