diff options
author | Dmitry Stogov <dmitry@zend.com> | 2020-09-18 12:55:58 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2020-09-18 12:55:58 +0300 |
commit | d5d31ea3b32a75697bb2c2ee95acedd29ef69708 (patch) | |
tree | 2ee893002d4272df1395cd0943198254cafd557b /ext/opcache/ZendAccelerator.c | |
parent | b4c2670f857bd23c8b0922bd7f0f4a25d91f28d2 (diff) | |
download | php-git-d5d31ea3b32a75697bb2c2ee95acedd29ef69708.tar.gz |
Cleanup observer API and add JIT support
Diffstat (limited to 'ext/opcache/ZendAccelerator.c')
-rw-r--r-- | ext/opcache/ZendAccelerator.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 46363acb7b..71af3203dc 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -44,7 +44,6 @@ #include "zend_accelerator_util_funcs.h" #include "zend_accelerator_hash.h" #include "zend_file_cache.h" -#include "zend_observer.h" #include "ext/pcre/php_pcre.h" #include "ext/standard/md5.h" #include "ext/hash/php_hash.h" @@ -2998,15 +2997,6 @@ static zend_result accel_post_startup(void) } } -#ifdef HAVE_JIT - /* TODO Observer support for JIT */ - if (ZEND_OBSERVER_ENABLED) { - JIT_G(enabled) = 0; - JIT_G(on) = 0; - zend_accel_error(ACCEL_LOG_INFO, "Observer extension present. Disabling JIT."); - } -#endif - /* Initialize zend_func_info_rid */ zend_optimizer_startup(); |