diff options
author | Xinchen Hui <laruence@gmail.com> | 2018-02-10 16:58:27 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2018-02-10 16:58:27 +0800 |
commit | 87b71804804a0a76115267a34acd27b7d01d6e85 (patch) | |
tree | d6b89957171c058a68536326eeee64d64eb79c22 /Zend/zend_cpuinfo.c | |
parent | ab44dddfe4f0270f7ae84f5e61578e75c2005bc3 (diff) | |
download | php-git-87b71804804a0a76115267a34acd27b7d01d6e85.tar.gz |
Fixed cpu feature check in reslover functions
Diffstat (limited to 'Zend/zend_cpuinfo.c')
-rw-r--r-- | Zend/zend_cpuinfo.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Zend/zend_cpuinfo.c b/Zend/zend_cpuinfo.c index 2b087afaef..988ceb2521 100644 --- a/Zend/zend_cpuinfo.c +++ b/Zend/zend_cpuinfo.c @@ -16,7 +16,6 @@ +----------------------------------------------------------------------+ */ -#include "zend.h" #include "zend_cpuinfo.h" typedef struct _zend_cpu_info { @@ -68,10 +67,6 @@ void zend_cpu_startup(void) } ZEND_API int zend_cpu_supports(zend_cpu_feature feature) { -#ifdef HAVE_FUNC_ATTRIBUTE_IFUNC - /* The resolver is invoked before zend_startup(). */ - zend_cpu_startup(); -#endif if (feature & ZEND_CPU_EDX_MASK) { return (cpuinfo.edx & (feature & ~ZEND_CPU_EDX_MASK)); } else { |