]> granicus.if.org Git - php/commitdiff
Removed duplicate conditions
authorGeorge Peter Banyard <girgias@php.net>
Wed, 30 Sep 2020 05:15:04 +0000 (08:15 +0300)
committerDmitry Stogov <dmitry@zend.com>
Wed, 30 Sep 2020 05:15:04 +0000 (08:15 +0300)
ext/opcache/jit/zend_jit_x86.dasc

index 0aab3961cb02b8e2235059758b3745543ac66233..fd04435818516ad889f1fc91d829fa4124844ed0 100644 (file)
@@ -11297,7 +11297,6 @@ static zend_bool zend_jit_may_avoid_refcounting(const zend_op *opline)
        switch (opline->opcode) {
                case ZEND_FETCH_OBJ_FUNC_ARG:
                        if (!JIT_G(current_frame) ||
-                           !JIT_G(current_frame) ||
                            !JIT_G(current_frame)->call->func ||
                            !TRACE_FRAME_IS_LAST_SEND_BY_VAL(JIT_G(current_frame)->call)) {
                                return 0;
@@ -11313,7 +11312,6 @@ static zend_bool zend_jit_may_avoid_refcounting(const zend_op *opline)
                        break;
                case ZEND_FETCH_DIM_FUNC_ARG:
                        if (!JIT_G(current_frame) ||
-                           !JIT_G(current_frame) ||
                            !JIT_G(current_frame)->call->func ||
                            !TRACE_FRAME_IS_LAST_SEND_BY_VAL(JIT_G(current_frame)->call)) {
                                return 0;