In libobjc/: 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>
authorNicola Pero <nicola.pero@meta-innovation.com>
Thu, 26 May 2011 09:13:59 +0000 (09:13 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Thu, 26 May 2011 09:13:59 +0000 (09:13 +0000)
In libobjc/:
2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>

* sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
not objc_lookupClass.

From-SVN: r174268

libobjc/ChangeLog
libobjc/sendmsg.c

index 010f3ef9ff2604841fe2d2296e5c877a49f8241c..38390ad03bfe6f875504f02fa4036bb560d5a307 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
+       not objc_lookupClass.
+
 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
            David Ayers  <ayers@fsfe.org>
 
index c11a791cef0b62a8afc7f15c9e155fc441297009..11ab887b07419ff2b0eb1e759c103724a10d99ef 100644 (file)
@@ -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);