Fixed tracing JIT support for CALLABLE_CONVERT (#12156)

This commit is contained in:
Dmitry Stogov 2023-09-08 18:27:13 +03:00 committed by GitHub
parent 748adf18fc
commit be0245c756
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1065,6 +1065,7 @@ static const zend_op *zend_jit_trace_find_init_fcall_op(zend_jit_trace_rec *p, c
case ZEND_DO_ICALL:
case ZEND_DO_UCALL:
case ZEND_DO_FCALL_BY_NAME:
case ZEND_CALLABLE_CONVERT:
call_level++;
break;
}
@ -6227,6 +6228,7 @@ done:
case ZEND_DO_ICALL:
case ZEND_DO_UCALL:
case ZEND_DO_FCALL_BY_NAME:
case ZEND_CALLABLE_CONVERT:
frame->call_level--;
}