In libobjc/: 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>

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
This commit is contained in:
Nicola Pero 2011-05-26 09:13:59 +00:00 committed by Nicola Pero
parent 1651e70348
commit 1e49849c9f
2 changed files with 6 additions and 1 deletions

View 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>

View 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);