We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ded0b34 commit f06f260Copy full SHA for f06f260
ext/opcache/zend_persist.c
@@ -1144,9 +1144,7 @@ zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script
1144
1145
#ifdef HAVE_JIT
1146
if (ZCG(jit_enabled) && for_shm) {
1147
- if (ZEND_JIT_LEVEL(ZCG(accel_directives).jit) >= ZEND_JIT_LEVEL_OPT_SCRIPT &&
1148
- (ZEND_JIT_TRIGGER(ZCG(accel_directives).jit) == ZEND_JIT_ON_SCRIPT_LOAD ||
1149
- 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) {
1150
zend_jit_script(&script->script);
1151
}
1152
zend_jit_protect();
0 commit comments