com php-src: add proper noinline specifier for VC: Zend/zend_ portability.h
| From: | Anatol Belski | Date: | Mon, 18 Jan 2016 17:32:12 +0000 |
| Subject: | com php-src: add proper noinline specifier for VC: Zend/zend_ portability.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90689@lists.php.net to get a copy of this message | ||
Commit: 9ceb53b071fff8bc43bb2fad9de286c16f9e5ea9
Author: Anatol Belski <ab@php.net> Mon, 18 Jan 2016 17:35:23 +0100
Parents: a50120c416a54a0cc7b3d2288217e8ee51636b55
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9ceb53b071fff8bc43bb2fad9de286c16f9e5ea9
Log:
add proper noinline specifier for VC
Changed paths:
M Zend/zend_portability.h
Diff:
diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h
index f187129..298dfb5 100644
--- a/Zend/zend_portability.h
+++ b/Zend/zend_portability.h
@@ -284,7 +284,7 @@ char *alloca();
# endif
# elif defined(_MSC_VER)
# define zend_always_inline __forceinline
-# define zend_never_inline
+# define zend_never_inline __declspec(noinline)
# else
# if __has_attribute(always_inline)
# define zend_always_inline inline __attribute__((always_inline))