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

Fix GH-17003: Pecl 8.4 tracing JIT crash (#17032)

This commit is contained in:
Dmitry Stogov
2024-12-03 20:42:27 +03:00
committed by GitHub
parent f12cd1985e
commit c5ce74c88c

View File

@@ -6831,7 +6831,7 @@ done:
ssa->var_info[j].type &= ~MAY_BE_GUARD;
op_type = concrete_type(ssa->var_info[j].type);
if (!zend_jit_type_guard(&ctx, opline, EX_NUM_TO_VAR(i), op_type)) {
if (!zend_jit_type_guard(&ctx, NULL, EX_NUM_TO_VAR(i), op_type)) {
goto jit_failure;
}
SET_STACK_TYPE(stack, i, op_type, 1);