From: Nicola Pero Date: Thu, 26 May 2011 09:13:59 +0000 (+0000) Subject: In libobjc/: 2011-05-26 Nicola Pero X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e49849c9f9774b13a33fa6f7973021da7d7315a;p=gcc.git In libobjc/: 2011-05-26 Nicola Pero In libobjc/: 2011-05-26 Nicola Pero * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass, not objc_lookupClass. From-SVN: r174268 --- diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 010f3ef9ff2..38390ad03bf 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-26 Nicola Pero + + * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass, + not objc_lookupClass. + 2011-05-25 Richard Frith-Macdonald David Ayers diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c index c11a791cef0..11ab887b074 100644 --- a/libobjc/sendmsg.c +++ b/libobjc/sendmsg.c @@ -1111,7 +1111,7 @@ __objc_install_dtable_for_class (Class cls) else { /* Retreive the class from the meta class. */ - Class c = objc_lookup_class (cls->name); + Class c = objc_getClass (cls->name); assert (CLS_ISMETA (cls)); assert (c); __objc_send_initialize (c);