mirror of
https://github.com/php/php-src.git
synced 2026-04-05 07:02:33 +02:00
Revert "Fixed crash if jit.trigger is counter based with preload scripts"
This reverts commit 3d4e23aa92.
This commit is contained in:
@@ -1144,9 +1144,7 @@ zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script
|
||||
|
||||
#ifdef HAVE_JIT
|
||||
if (ZCG(jit_enabled) && for_shm) {
|
||||
if (ZEND_JIT_LEVEL(ZCG(accel_directives).jit) >= ZEND_JIT_LEVEL_OPT_SCRIPT &&
|
||||
(ZEND_JIT_TRIGGER(ZCG(accel_directives).jit) == ZEND_JIT_ON_SCRIPT_LOAD ||
|
||||
ZEND_JIT_TRIGGER(ZCG(accel_directives).jit) == ZEND_JIT_ON_DOC_COMMENT)) {
|
||||
if (ZEND_JIT_LEVEL(ZCG(accel_directives).jit) >= ZEND_JIT_LEVEL_OPT_SCRIPT) {
|
||||
zend_jit_script(&script->script);
|
||||
}
|
||||
zend_jit_protect();
|
||||
|
||||
Reference in New Issue
Block a user