init.c
25.6 KB
-
init.c (__objc_send_message_in_list): When setting a new entry in… · e6be21fe
init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key... 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org> * init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key, but check to see if the method is in the hashtable by looking at the IMP also. Also ... call the method after adding it to the hashtable rather than before ... thus preventing an obscure possibility of infinite recursion if a +load method itself loads a subclass. From-SVN: r43052
Richard Frith-Macdonald committed