diff options
author | Dmitry Stogov <dmitry@zend.com> | 2020-10-14 01:17:39 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2020-10-14 01:17:39 +0300 |
commit | 06bb1feb09e46419d684abdfa7ec2249015defa1 (patch) | |
tree | 32264faf3083e023baee8dd4f85566a00a015c3c /ext | |
parent | 4da2bebd4189635a52a8389b53c3e9b40ff4a121 (diff) | |
download | php-git-06bb1feb09e46419d684abdfa7ec2249015defa1.tar.gz |
Added missing side exit
Diffstat (limited to 'ext')
-rw-r--r-- | ext/opcache/jit/zend_jit_x86.dasc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index bf190427fb..9918bf365f 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -5533,7 +5533,9 @@ static int zend_jit_fetch_dimension_address_inner(dasm_State **Dst, const zend_o | // retval = Z_INDIRECT_P(retval); | GET_Z_PTR r0, r0 | IF_NOT_Z_TYPE r0, IS_UNDEF, >8 - if (type == BP_VAR_IS && not_found_exit_addr) { + if (JIT_G(trigger) == ZEND_JIT_ON_HOT_TRACE && type == BP_VAR_R) { + | jmp &exit_addr + } else if (type == BP_VAR_IS && not_found_exit_addr) { | jmp ¬_found_exit_addr } |2: |