Skip to content

Commit 2594fa7

Browse files
committed
Remove another unused function
1 parent 153e057 commit 2594fa7

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

Zend/zend_execute.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -584,17 +584,6 @@ ZEND_API zend_result ZEND_FASTCALL zend_handle_undef_args(zend_execute_data *cal
584584
#define ZEND_CLASS_HAS_TYPE_HINTS(ce) ((bool)(ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS))
585585
#define ZEND_CLASS_HAS_READONLY_PROPS(ce) ((bool)(ce->ce_flags & ZEND_ACC_HAS_READONLY_PROPS))
586586

587-
static zend_always_inline bool zend_scope_is_derived_from(
588-
const zend_class_entry *scope, const zend_class_entry *ancestor)
589-
{
590-
for (const zend_class_entry *ce = scope; ce != NULL; ce = ce->parent) {
591-
if (ce == ancestor) {
592-
return true;
593-
}
594-
}
595-
return false;
596-
}
597-
598587
static zend_always_inline bool zend_has_active_ctor_with_promoted_property(
599588
const zend_execute_data *ex, zend_object *obj, zend_string *property_name)
600589
{

0 commit comments

Comments
 (0)