From c57ec92eb6afc7dd89559f8c145ff47b5c2d1065 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Tue, 1 Jul 2025 11:41:24 +0200 Subject: [PATCH] Fix missing HAVE_JIT guard Closes GH-18993 --- ext/opcache/zend_persist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/opcache/zend_persist.c b/ext/opcache/zend_persist.c index 71e5bb54007..f8e11e4d01e 100644 --- a/ext/opcache/zend_persist.c +++ b/ext/opcache/zend_persist.c @@ -1262,6 +1262,7 @@ void zend_update_parent_ce(zend_class_entry *ce) } } +#ifdef HAVE_JIT static void zend_accel_persist_jit_op_array(zend_op_array *op_array, zend_class_entry *ce) { if (op_array->type == ZEND_USER_FUNCTION) { @@ -1294,6 +1295,7 @@ static void zend_accel_persist_link_func_info(zend_op_array *op_array, zend_clas } } } +#endif static void zend_accel_persist_class_table(HashTable *class_table) {