Skip to content

Commit c5ce74c

Browse files
authored
Fix GH-17003: Pecl 8.4 tracing JIT crash (#17032)
1 parent f12cd19 commit c5ce74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_trace.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6831,7 +6831,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
68316831

68326832
ssa->var_info[j].type &= ~MAY_BE_GUARD;
68336833
op_type = concrete_type(ssa->var_info[j].type);
6834-
if (!zend_jit_type_guard(&ctx, opline, EX_NUM_TO_VAR(i), op_type)) {
6834+
if (!zend_jit_type_guard(&ctx, NULL, EX_NUM_TO_VAR(i), op_type)) {
68356835
goto jit_failure;
68366836
}
68376837
SET_STACK_TYPE(stack, i, op_type, 1);

0 commit comments

Comments
 (0)