ObjFW  Diff

Differences From Artifact [29b33e14c4]:

  • File src/runtime/lookup.m — part of check-in [3dbfc001c0] at 2012-03-06 17:18:06 on branch runtime — Get rid of src/runtime/asm and move the files to src/runtime. Subdirectories don't really work without traversing them and having a Makefile in them and it's not really worth the effort for just 2 files. (user: js size: 1723)

To Artifact [40605ab2a2]:

  • File src/runtime/lookup.m — part of check-in [10b3fbc5fc] at 2012-04-06 12:14:15 on branch runtime — Make objc_msg_lookup_super public. (user: js size: 1719)

60
61
62
63
64
65
66
67

68
69
70
71
72
73
74
60
61
62
63
64
65
66

67
68
69
70
71
72
73
74







-
+







	if ((imp = objc_sparsearray_get(obj->isa->dtable, sel->uid)) == NULL)
		return objc_forward_handler(obj, sel);

	return imp;
}

IMP
objc_msg_lookup_super(struct objc_abi_super *super, SEL sel)
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, sel->uid);