We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0c8bf3 commit 171049bCopy full SHA for 171049b
ext/opcache/jit/zend_jit_helpers.c
@@ -42,7 +42,7 @@ static zend_never_inline zend_op_array* ZEND_FASTCALL zend_jit_init_func_run_tim
42
{
43
void **run_time_cache;
44
45
- if (!RUN_TIME_CACHE(op_array)) {
+ if (op_array->type == ZEND_USER_FUNCTION && !RUN_TIME_CACHE(op_array)) {
46
run_time_cache = zend_arena_alloc(&CG(arena), op_array->cache_size);
47
memset(run_time_cache, 0, op_array->cache_size);
48
ZEND_MAP_PTR_SET(op_array->run_time_cache, run_time_cache);
0 commit comments