mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: Don't JIT after fatal errors
This commit is contained in:
commit
4fce8c83bc
1 changed files with 3 additions and 3 deletions
|
@ -3553,7 +3553,7 @@ ZEND_EXT_API void zend_jit_activate(void)
|
|||
|
||||
ZEND_EXT_API void zend_jit_deactivate(void)
|
||||
{
|
||||
if (zend_jit_profile_counter) {
|
||||
if (zend_jit_profile_counter && !CG(unclean_shutdown)) {
|
||||
zend_class_entry *ce;
|
||||
|
||||
zend_shared_alloc_lock();
|
||||
|
@ -3571,9 +3571,9 @@ ZEND_EXT_API void zend_jit_deactivate(void)
|
|||
zend_jit_protect();
|
||||
SHM_PROTECT();
|
||||
zend_shared_alloc_unlock();
|
||||
}
|
||||
|
||||
zend_jit_profile_counter = 0;
|
||||
}
|
||||
}
|
||||
|
||||
static void zend_jit_restart_preloaded_op_array(zend_op_array *op_array)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue