Skip to content

Commit 00691f4

Browse files
committed
Remove always-true if check
1 parent 00b36ce commit 00691f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12144,8 +12144,7 @@ static int zend_jit_fetch_dim_read(zend_jit_ctx *jit,
1214412144
zend_jit_trace_stack *stack = JIT_G(current_frame)->stack;
1214512145
int32_t exit_point;
1214612146

12147-
if (opline->opcode != ZEND_FETCH_LIST_R
12148-
&& (opline->op1_type & (IS_VAR|IS_TMP_VAR))
12147+
if ((opline->op1_type & (IS_VAR|IS_TMP_VAR))
1214912148
&& !op1_avoid_refcounting) {
1215012149
flags |= ZEND_JIT_EXIT_FREE_OP1;
1215112150
}

0 commit comments

Comments
 (0)