diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-01-22 15:57:00 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-01-22 15:57:00 +0300 |
commit | b3e22da745957a6d67bc604268184eb8ba161a08 (patch) | |
tree | dcfe51e8cf081019136cf0b8bdb2ad6983e9c873 /Zend/zend_objects_API.h | |
parent | 6fb5568b2de6430955936235e29413c1de4c6253 (diff) | |
download | php-git-b3e22da745957a6d67bc604268184eb8ba161a08.tar.gz |
Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS)
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 7fd073f7ad..a581c4b209 100644 --- a/Zend/zend_objects_API.h +++ b/Zend/zend_objects_API.h @@ -62,7 +62,7 @@ ZEND_API void ZEND_FASTCALL zend_objects_store_del(zend_object *object); /* Called when the ctor was terminated by an exception */ static zend_always_inline void zend_object_store_ctor_failed(zend_object *obj) { - GC_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; + OBJ_FLAGS(obj) |= IS_OBJ_DESTRUCTOR_CALLED; } #define ZEND_OBJECTS_STORE_HANDLERS 0, zend_object_std_dtor, zend_objects_destroy_object, zend_objects_clone_obj |