Skip to content

Commit 4c15e7f

Browse files
committed
Fixed trace type inference
1 parent eb62361 commit 4c15e7f

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
@@ -6985,7 +6985,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
69856985
}
69866986
}
69876987
if (ssa_op->op1_def >= 0
6988-
&& (opline->opcode != ZEND_QM_ASSIGN
6988+
&& ((opline->opcode != ZEND_QM_ASSIGN && opline->opcode != ZEND_CAST)
69896989
|| opline->result_type != IS_CV
69906990
|| opline->result.var != opline->op1.var)) {
69916991
uint8_t type = IS_UNKNOWN;

0 commit comments

Comments
 (0)