diff options
author | Dmitry Stogov <dmitry@php.net> | 2010-04-20 11:16:39 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2010-04-20 11:16:39 +0000 |
commit | 453b49ed20a0d68173cfbe740eb8a3068f62121a (patch) | |
tree | 64ce9137e1ca9d1aeddc1c4ad26a9da43e9617fa /Zend/zend_variables.h | |
parent | 0bba0bfdc821a18599a5bc4a824ed8b025803c47 (diff) | |
download | php-git-453b49ed20a0d68173cfbe740eb8a3068f62121a.tar.gz |
Added a number of small performance tweaks and optimizations
. ZEND_RECV now always has IS_CV as its result
. ZEND_CATCH now has to be used only with constant class names
. ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
Diffstat (limited to 'Zend/zend_variables.h')
-rw-r--r-- | Zend/zend_variables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_variables.h b/Zend/zend_variables.h index 9304a67c0e..8701643333 100644 --- a/Zend/zend_variables.h +++ b/Zend/zend_variables.h @@ -27,7 +27,7 @@ BEGIN_EXTERN_C() ZEND_API void _zval_dtor_func(zval *zvalue ZEND_FILE_LINE_DC); -static inline void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC) +static zend_always_inline void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC) { if (zvalue->type <= IS_BOOL) { return; @@ -37,7 +37,7 @@ static inline void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC) ZEND_API void _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC); -static inline void _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC) +static zend_always_inline void _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC) { if (zvalue->type <= IS_BOOL) { return; |