1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 22:41:20 +02:00

Merge branch 'PHP-8.2'

* PHP-8.2:
  Discard disasm symbols on opcache restart
This commit is contained in:
Dmitry Stogov
2022-10-17 11:24:20 +03:00

View File

@@ -5186,6 +5186,13 @@ ZEND_EXT_API void zend_jit_restart(void)
}
zend_jit_protect();
#ifdef HAVE_DISASM
if (JIT_G(debug) & (ZEND_JIT_DEBUG_ASM|ZEND_JIT_DEBUG_ASM_STUBS)) {
zend_jit_disasm_shutdown();
zend_jit_disasm_init();
}
#endif
}
}