Skip to content

Commit c57ec92

Browse files
committed
Fix missing HAVE_JIT guard
Closes GH-18993
1 parent a179e39 commit c57ec92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/zend_persist.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,7 @@ void zend_update_parent_ce(zend_class_entry *ce)
12621262
}
12631263
}
12641264

1265+
#ifdef HAVE_JIT
12651266
static void zend_accel_persist_jit_op_array(zend_op_array *op_array, zend_class_entry *ce)
12661267
{
12671268
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
12941295
}
12951296
}
12961297
}
1298+
#endif
12971299

12981300
static void zend_accel_persist_class_table(HashTable *class_table)
12991301
{

0 commit comments

Comments
 (0)