From 453b49ed20a0d68173cfbe740eb8a3068f62121a Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 20 Apr 2010 11:16:39 +0000 Subject: 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 --- Zend/zend_variables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zend/zend_variables.h') 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; -- cgit v1.2.1