Skip to content

Commit 4b6345a

Browse files
committed
Fixed RC1 Hanlding
1 parent ea0df07 commit 4b6345a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_inference.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3009,7 +3009,7 @@ static int zend_update_type_info(const zend_op_array *op_array,
30093009
tmp |= MAY_BE_RC1;
30103010
}
30113011
if (t1 & MAY_BE_OBJECT) {
3012-
tmp |= t1 & MAY_BE_RCN;
3012+
tmp |= t1 & (MAY_BE_RC1|MAY_BE_RCN);
30133013
}
30143014
}
30153015
j = ssa_vars[ssa_ops[i].result_def].use_chain;

0 commit comments

Comments
 (0)