In libobjc/: 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
authorNicola Pero <nicola.pero@meta-innovation.com>
Sat, 6 Aug 2011 14:20:09 +0000 (14:20 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Sat, 6 Aug 2011 14:20:09 +0000 (14:20 +0000)
commit0e0677a2f0c08632e898722280bed7e842ab8f84
tree2eebcd872b6090c0533651d1c56a014d20130d9b
parent7dff453e64108f7010812e7f85e35f8a78cb096f
In libobjc/: 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>

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

PR libobjc/50002
* class.c (__objc_update_classes_with_methods): Iterate over meta
classes as well as normal classes when refreshing the method
implementations.  This fixes replacing class methods.

2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

* class.c (class_getSuperclass): Fixed to work with meta classes
still in construction too.

In gcc/testsuite/:
2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/50002
* objc.dg/gnu-api-2-class.m: Updated comments.
* obj-c++.dg/gnu-api-2-class.mm: Likewise.
* objc.dg/gnu-api-2-class-meta.m: New test.
* obj-c++.dg/gnu-api-2-class-meta.mm: Likewise.

2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/49882
* obj-c++.dg/gnu-api-2-class.mm (main): Test class_getSuperclass()
with classes that are in construction.

From-SVN: r177510
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/gnu-api-2-class-meta.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/gnu-api-2-class.mm
gcc/testsuite/objc.dg/gnu-api-2-class-meta.m [new file with mode: 0644]
gcc/testsuite/objc.dg/gnu-api-2-class.m
libobjc/ChangeLog
libobjc/class.c