OSDN Git Service

In libobjc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 09:13:59 +0000 (09:13 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 09:13:59 +0000 (09:13 +0000)
2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174268 138bc75d-0d04-0410-961f-82ee72b054a4

libobjc/ChangeLog
libobjc/sendmsg.c

index 010f3ef..38390ad 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 c11a791..11ab887 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);