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_objects_API.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_objects_API.h')
-rw-r--r-- | Zend/zend_objects_API.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_objects_API.h b/Zend/zend_objects_API.h index 243b6dbc68..5092f61b8b 100644 --- a/Zend/zend_objects_API.h +++ b/Zend/zend_objects_API.h @@ -68,7 +68,7 @@ ZEND_API void zend_objects_store_add_ref(zval *object TSRMLS_DC); ZEND_API void zend_objects_store_del_ref(zval *object TSRMLS_DC); ZEND_API void zend_objects_store_add_ref_by_handle(zend_object_handle handle TSRMLS_DC); ZEND_API void zend_objects_store_del_ref_by_handle_ex(zend_object_handle handle, const zend_object_handlers *handlers TSRMLS_DC); -static inline void zend_objects_store_del_ref_by_handle(zend_object_handle handle TSRMLS_DC) { +static zend_always_inline void zend_objects_store_del_ref_by_handle(zend_object_handle handle TSRMLS_DC) { zend_objects_store_del_ref_by_handle_ex(handle, NULL TSRMLS_CC); } ZEND_API zend_uint zend_objects_store_get_refcount(zval *object TSRMLS_DC); |