2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
commitcd7d360ca7315e42b4c609ed3c324f65229a44fd
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2001 22:19:47 +0000 (8 22:19 +0000)
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2001 22:19:47 +0000 (8 22:19 +0000)
treef0c91e12a488c83a75cdce0865034ef7d50e6df6
parent7596910665ed7c7bd1b0a2ccd4971c65bc15e8be
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43052 138bc75d-0d04-0410-961f-82ee72b054a4
libobjc/ChangeLog
libobjc/init.c