]> granicus.if.org Git - php/commitdiff
Avoid useless register reload
authorDmitry Stogov <dmitry@zend.com>
Wed, 3 Jun 2020 15:14:51 +0000 (18:14 +0300)
committerDmitry Stogov <dmitry@zend.com>
Wed, 3 Jun 2020 15:14:51 +0000 (18:14 +0300)
ext/opcache/jit/zend_jit_x86.dasc

index deb1e5a0d45581521dae03a67b221092ba07a88a..6076f9e94b2cf230df8665d7a3187b8745ee1852 100644 (file)
@@ -8776,7 +8776,7 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
                        return 0;
                }
 
-               if (opline->opcode != ZEND_DO_ICALL) {
+               if (!trace && opline->opcode != ZEND_DO_ICALL) {
                        |       LOAD_IP_ADDR (opline + 1)
                }
        }