ObjFW  Check-in [e23441b121]

Overview
Comment:Don't declare objc_classname_to_class inline

It is too big already for inlining to make any sense.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e23441b121da8152205a88bf6911c2f0b730c09ca245418170ca88aeba38c90b
User & Date: js on 2014-05-15 15:17:44
Other Links: manifest | tags
Context
2014-05-15
15:32
Multiple dtable / sparse array improvements check-in: 1ebb9eb7b3 user: js tags: trunk
15:17
Don't declare objc_classname_to_class inline check-in: e23441b121 user: js tags: trunk
15:17
Don't embed directives within macro arguments check-in: 0d37286ccb user: js tags: trunk
Changes

Modified src/runtime/class.m from [e257cf48b1] to [ae710a7cad].

75
76
77
78
79
80
81
82
83
84
85
86
87
88
89

	for (ml = cls->methodlist; ml != NULL; ml = ml->next)
		for (i = 0; i < ml->count; i++)
			objc_register_selector(
			    (struct objc_abi_selector*)&ml->methods[i]);
}

inline Class __attribute__((__gnu_inline__))
objc_classname_to_class(const char *name, bool cache)
{
	Class c;

	if (classes == NULL)
		return Nil;








|







75
76
77
78
79
80
81
82
83
84
85
86
87
88
89

	for (ml = cls->methodlist; ml != NULL; ml = ml->next)
		for (i = 0; i < ml->count; i++)
			objc_register_selector(
			    (struct objc_abi_selector*)&ml->methods[i]);
}

Class
objc_classname_to_class(const char *name, bool cache)
{
	Class c;

	if (classes == NULL)
		return Nil;