Better hot/cold code splitting

This commit is contained in:
Dmitry Stogov 2019-05-31 12:09:06 +03:00
parent 84333cad67
commit 1df9f238fe
7 changed files with 63 additions and 52 deletions

View file

@ -4402,7 +4402,7 @@ ZEND_API zend_string *zend_resolve_method_name(zend_class_entry *ce, zend_functi
}
/* }}} */
ZEND_API const char *zend_get_object_type(const zend_class_entry *ce) /* {{{ */
ZEND_API ZEND_COLD const char *zend_get_object_type(const zend_class_entry *ce) /* {{{ */
{
if(ce->ce_flags & ZEND_ACC_TRAIT) {
return "trait";