From: Dmitry Stogov Date: Thu, 22 Oct 2020 20:15:15 +0000 (+0300) Subject: Missed warning X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5626dcdb9dd041b0f0d97928035abab5c14a630e;p=php Missed warning --- diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index b5fe131139..beda127598 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -11714,7 +11714,7 @@ static int zend_jit_fetch_dim_read(dasm_State **Dst, } if ((op1_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_ARRAY|MAY_BE_OBJECT|may_be_string))) - && !exit_addr) { + && (!exit_addr || !(op1_info & (MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_STRING)))) { if (opline->opcode != ZEND_FETCH_DIM_IS && opline->opcode != ZEND_FETCH_LIST_R) { if ((op1_info & MAY_BE_UNDEF) || (op2_info & MAY_BE_UNDEF)) { | LOAD_ZVAL_ADDR FCARG1a, orig_op1_addr