summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-09-30 08:15:04 +0300
committerDmitry Stogov <dmitry@zend.com>2020-09-30 08:15:04 +0300
commit8d0b871bde7b6503274100d31b373636e40fda2c (patch)
treebb98ee07cc8c20b65a34d472b6232c67073cc7f4
parent07fa13088e1349f4b5a044faeee57f2b34f6b6e4 (diff)
downloadphp-git-8d0b871bde7b6503274100d31b373636e40fda2c.tar.gz
Removed duplicate conditions
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index 0aab3961cb..fd04435818 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -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;