1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fixed incorrect type stores

This commit is contained in:
Dmitry Stogov
2023-11-06 15:20:26 +03:00
parent 44f9c226aa
commit 93ed314432

View File

@@ -6830,7 +6830,11 @@ done:
}
} else if (p->stop == ZEND_JIT_TRACE_STOP_LINK
|| p->stop == ZEND_JIT_TRACE_STOP_INTERPRETER) {
if (ra && (p-1)->op != ZEND_JIT_TRACE_ENTER) {
if (ra
&& (p-1)->op != ZEND_JIT_TRACE_ENTER
&& opline->opcode != ZEND_DO_UCALL
&& opline->opcode != ZEND_DO_FCALL
&& opline->opcode != ZEND_DO_FCALL_BY_NAME) {
for (i = 0; i < op_array->last_var + op_array->T; i++) {
int32_t ref = STACK_REF(stack, i);
uint8_t type = STACK_TYPE(stack, i);