Skip to content

Commit 13b6c8d

Browse files
committed
Fixed trace type inference
1 parent 7939ed2 commit 13b6c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6987,7 +6987,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
69876987
}
69886988
}
69896989
if (ssa_op->op1_def >= 0
6990-
&& (opline->opcode != ZEND_QM_ASSIGN
6990+
&& ((opline->opcode != ZEND_QM_ASSIGN && opline->opcode != ZEND_CAST)
69916991
|| opline->result_type != IS_CV
69926992
|| opline->result.var != opline->op1.var)) {
69936993
uint8_t type = IS_UNKNOWN;

0 commit comments

Comments
 (0)