mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Merge branch 'PHP-8.2'
* PHP-8.2: Fix crashes after opcache restart [ci skip] Update NEWS for PHP 8.2.0RC5
This commit is contained in:
commit
5b65594d78
@ -5164,6 +5164,10 @@ ZEND_EXT_API void zend_jit_restart(void)
|
||||
if (dasm_buf) {
|
||||
zend_jit_unprotect();
|
||||
|
||||
#if ZEND_JIT_TARGET_ARM64
|
||||
memset(dasm_labels_veneers, 0, sizeof(void*) * ZEND_MM_ALIGNED_SIZE_EX(zend_lb_MAX, DASM_ALIGNMENT));
|
||||
#endif
|
||||
|
||||
/* restore JIT buffer pos */
|
||||
dasm_ptr[0] = dasm_ptr[1];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user