com php-src: improved the ZEND_FASTCALL convention for vc12+: Zend/zend_portability.h

From: Date: Tue, 04 Nov 2014 09:07:44 +0000
Subject: com php-src: improved the ZEND_FASTCALL convention for vc12+: Zend/zend_portability.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82944@lists.php.net to get a copy of this message
Commit: 3b6cd5fe4ce81d3d219887339f3915140214708c Author: Anatol Belski <ab@php.net> Tue, 4 Nov 2014 10:07:44 +0100 Parents: faa4c6155ef384b7ffdd6de3b146fef79f8ba35c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3b6cd5fe4ce81d3d219887339f3915140214708c Log: improved the ZEND_FASTCALL convention for vc12+ Changed paths: M Zend/zend_portability.h Diff: diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h index 1705965..c159fdc 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -196,8 +196,10 @@ char *alloca(); #if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 && defined(__i386__) # define ZEND_FASTCALL __attribute__((fastcall)) -#elif defined(_MSC_VER) && defined(_M_IX86) +#elif defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER <= 1700 # define ZEND_FASTCALL __fastcall +#elif defined(_MSC_VER) && _MSC_VER >= 1800 +# define ZEND_FASTCALL __vectorcall #else # define ZEND_FASTCALL #endif

« previous php.cvs (#82944) next »