ObjFW  Diff

Differences From Artifact [aeac5b2dcb]:

  • File src/runtime/lookup.m — part of check-in [9dfe462848] at 2012-09-06 19:13:50 on branch trunk — Improve selector not found message. (user: js size: 2533)

To Artifact [0983e7708e]:

  • File src/runtime/lookup.m — part of check-in [5216366469] at 2012-09-06 19:13:50 on branch trunk — Fix a forgotten rename. (user: js size: 2531)

97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
objc_msg_lookup_super(struct objc_super *super, SEL sel)
{
	IMP imp;

	if (super->self == nil)
		return (IMP)nil_method;

	imp = objc_sparsearray_get(super->class->dtable, (uint32_t)sel->uid);

	if (imp == NULL)
		return objc_not_found_handler(super->self, sel);

	return imp;
}
#endif







|







97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
objc_msg_lookup_super(struct objc_super *super, SEL sel)
{
	IMP imp;

	if (super->self == nil)
		return (IMP)nil_method;

	imp = objc_sparsearray_get(super->cls->dtable, (uint32_t)sel->uid);

	if (imp == NULL)
		return objc_not_found_handler(super->self, sel);

	return imp;
}
#endif