Skip to content
Snippets Groups Projects
Forked from redox-os / gcc
Source project has a limited visibility.
  • shebs's avatar
    cd7d360c
    2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org> · cd7d360c
    shebs authored
            * 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
    cd7d360c
    History
    2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
    shebs authored
            * 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