diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2011-05-26 09:13:59 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2011-05-26 09:13:59 +0000 |
commit | 1e49849c9f9774b13a33fa6f7973021da7d7315a (patch) | |
tree | 98b7df1fbcfd07fced20774fb3154531a44d23d5 /libobjc | |
parent | 1651e703484940d8ea0fd098c28b25c5b0e2f862 (diff) | |
download | gcc-1e49849c9f9774b13a33fa6f7973021da7d7315a.zip gcc-1e49849c9f9774b13a33fa6f7973021da7d7315a.tar.gz gcc-1e49849c9f9774b13a33fa6f7973021da7d7315a.tar.bz2 |
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
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 5 | ||||
-rw-r--r-- | libobjc/sendmsg.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 010f3ef..38390ad 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -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> diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c index c11a791..11ab887 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); |