com php-src: Removed unused function and macro: Zend/zend_exe cute.h
| From: | Bob Weinand | Date: | Wed, 25 May 2016 11:41:02 +0000 |
| Subject: | com php-src: Removed unused function and macro: Zend/zend_exe cute.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95524@lists.php.net to get a copy of this message | ||
Commit: 3143597281c2052fe49d35363c43d303840d8999
Author: Dmitry Stogov <dmitry@zend.com> Wed, 25 May 2016 14:41:02 +0300
Parents: 40aa6c247c410da42badcf765a324a1d731859a5
Branches: typed_ref_properties
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3143597281c2052fe49d35363c43d303840d8999
Log:
Removed unused function and macro
Changed paths:
M Zend/zend_execute.h
Diff:
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 50a1645..7aa329b 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -366,26 +366,6 @@ void zend_cleanup_unfinished_execution(zend_execute_data *execute_data,
uint32_t
#define ZEND_CLASS_HAS_TYPE_HINTS(ce) ((ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS) ==
ZEND_ACC_HAS_TYPE_HINTS)
-static zend_always_inline zend_bool _zend_object_has_type_hints(zval *object) {
- do {
- if (Z_TYPE_P(object) != IS_OBJECT) {
- if (Z_ISREF_P(object)) {
- object = Z_REFVAL_P(object);
- if (Z_TYPE_P(object) != IS_OBJECT)
- break;
- } else {
- break;
- }
- }
-
- return ZEND_CLASS_HAS_TYPE_HINTS(Z_OBJCE_P(object));
- } while (0);
-
- return 0;
-}
-
-#define ZEND_OBJECT_HAS_TYPE_HINTS(object) _zend_object_has_type_hints(object)
-
static zend_always_inline zend_property_info* zend_object_fetch_property_type_info_ex(zval *object,
zend_string *property, void **cache_slot) {
zend_property_info *info;