1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 03:22:58 +02:00

Removed duplicate conditions

This commit is contained in:
George Peter Banyard
2020-09-30 08:15:04 +03:00
committed by Dmitry Stogov
parent 07fa13088e
commit 8d0b871bde

View 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;