Skip to content

Commit 93ed314

Browse files
committed
Fixed incorrect type stores
1 parent 44f9c22 commit 93ed314

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6830,7 +6830,11 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
68306830
}
68316831
} else if (p->stop == ZEND_JIT_TRACE_STOP_LINK
68326832
|| p->stop == ZEND_JIT_TRACE_STOP_INTERPRETER) {
6833-
if (ra && (p-1)->op != ZEND_JIT_TRACE_ENTER) {
6833+
if (ra
6834+
&& (p-1)->op != ZEND_JIT_TRACE_ENTER
6835+
&& opline->opcode != ZEND_DO_UCALL
6836+
&& opline->opcode != ZEND_DO_FCALL
6837+
&& opline->opcode != ZEND_DO_FCALL_BY_NAME) {
68346838
for (i = 0; i < op_array->last_var + op_array->T; i++) {
68356839
int32_t ref = STACK_REF(stack, i);
68366840
uint8_t type = STACK_TYPE(stack, i);

0 commit comments

Comments
 (0)