Skip to content

Commit b9f3e72

Browse files
committed
Fix [-Wlogical-op] in JIT extension
The same condition is used twice in a row
1 parent 9a1beb1 commit b9f3e72

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11297,7 +11297,6 @@ static zend_bool zend_jit_may_avoid_refcounting(const zend_op *opline)
1129711297
switch (opline->opcode) {
1129811298
case ZEND_FETCH_OBJ_FUNC_ARG:
1129911299
if (!JIT_G(current_frame) ||
11300-
!JIT_G(current_frame) ||
1130111300
!JIT_G(current_frame)->call->func ||
1130211301
!TRACE_FRAME_IS_LAST_SEND_BY_VAL(JIT_G(current_frame)->call)) {
1130311302
return 0;
@@ -11313,7 +11312,6 @@ static zend_bool zend_jit_may_avoid_refcounting(const zend_op *opline)
1131311312
break;
1131411313
case ZEND_FETCH_DIM_FUNC_ARG:
1131511314
if (!JIT_G(current_frame) ||
11316-
!JIT_G(current_frame) ||
1131711315
!JIT_G(current_frame)->call->func ||
1131811316
!TRACE_FRAME_IS_LAST_SEND_BY_VAL(JIT_G(current_frame)->call)) {
1131911317
return 0;

0 commit comments

Comments
 (0)