Skip to content

Commit 9a2cedb

Browse files
committed
Fixed incorect code generation
1 parent 879af47 commit 9a2cedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12548,7 +12548,7 @@ static int zend_jit_isset_isempty_dim(zend_jit_ctx *jit,
1254812548
}
1254912549
#endif
1255012550

12551-
if (op1_info & (MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_OBJECT)) {
12551+
if (true_inputs->count) {
1255212552
ir_MERGE_N(true_inputs->count, true_inputs->refs);
1255312553

1255412554
jit_FREE_OP(jit, opline->op2_type, opline->op2, op2_info, opline);

0 commit comments

Comments
 (0)