Skip to content

Commit f33aeff

Browse files
committed
Zend/zend_execute.c: use zend_never_inline ZEND_COLD
rather than ZEND_COLD zend_never_inline to align the coding style with the rest of the file
1 parent d0f7f8c commit f33aeff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/zend_execute.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ ZEND_API bool zend_verify_scalar_type_hint(uint32_t type_mask, zval *arg, bool s
836836
return zend_verify_weak_scalar_type_hint(type_mask, arg);
837837
}
838838

839-
ZEND_COLD zend_never_inline void zend_verify_class_constant_type_error(const zend_class_constant *c, const zend_string *name, const zval *constant)
839+
zend_never_inline ZEND_COLD void zend_verify_class_constant_type_error(const zend_class_constant *c, const zend_string *name, const zval *constant)
840840
{
841841
zend_string *type_str = zend_type_to_string(c->type);
842842

@@ -846,7 +846,7 @@ ZEND_COLD zend_never_inline void zend_verify_class_constant_type_error(const zen
846846
zend_string_release(type_str);
847847
}
848848

849-
ZEND_COLD zend_never_inline void zend_verify_property_type_error(const zend_property_info *info, const zval *property)
849+
zend_never_inline ZEND_COLD void zend_verify_property_type_error(const zend_property_info *info, const zval *property)
850850
{
851851
zend_string *type_str;
852852

@@ -864,7 +864,7 @@ ZEND_COLD zend_never_inline void zend_verify_property_type_error(const zend_prop
864864
zend_string_release(type_str);
865865
}
866866

867-
ZEND_COLD zend_never_inline void zend_magic_get_property_type_inconsistency_error(const zend_property_info *info, const zval *property)
867+
zend_never_inline ZEND_COLD void zend_magic_get_property_type_inconsistency_error(const zend_property_info *info, const zval *property)
868868
{
869869
/* we _may_ land here in case reading already errored and runtime cache thus has not been updated (i.e. it contains a valid but unrelated info) */
870870
if (EG(exception)) {

0 commit comments

Comments
 (0)