Skip to content

Commit a0de82a

Browse files
committed
Fixed reference-counting propagation
1 parent 800cf5a commit a0de82a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,6 +1751,9 @@ static zend_ssa *zend_jit_trace_build_tssa(zend_jit_trace_rec *trace_buffer, uin
17511751
}
17521752
}
17531753
}
1754+
if (opline->op1_type == IS_CV && (info & MAY_BE_RC1)) {
1755+
info |= MAY_BE_RCN;
1756+
}
17541757
if (info & MAY_BE_UNDEF) {
17551758
info |= MAY_BE_NULL;
17561759
info &= ~MAY_BE_UNDEF;

0 commit comments

Comments
 (0)