summaryrefslogtreecommitdiffstats
path: root/libobjc/objc-private
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-07 22:07:48 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-07 22:07:48 +0000
commit48cb632404d9b49ca4f04e47de5a40b8165e7e7b (patch)
treee5b82f4dfe9df54ded3816a18f630012d3b9c2a9 /libobjc/objc-private
parent8ce5985492e01af26fb8cabcc38118f8ae0a91e2 (diff)
downloadppe42-gcc-48cb632404d9b49ca4f04e47de5a40b8165e7e7b.tar.gz
ppe42-gcc-48cb632404d9b49ca4f04e47de5a40b8165e7e7b.zip
In libobjc/:
2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com> * objc-private/module-abi-8.h (class_get_instance_size): Removed. * objects.c (class_create_instance): Removed. * error.c (__USE_FIXED_PROTOTYPES__): Removed. * gc.c (__objc_generate_gc_type_description): Use class_getInstanceSize() instead of class_get_instance_size(). * selector.c (sel_types_match): Made static. (sel_get_typed_uid): Removed. (sel_get_any_typed_uid): Removed. (sel_get_name): Removed. (sel_get_type): Removed. (sel_register_name): Removed. (sel_register_typed_name): Removed. (sel_get_uid): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174773 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc-private')
-rw-r--r--libobjc/objc-private/module-abi-8.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libobjc/objc-private/module-abi-8.h b/libobjc/objc-private/module-abi-8.h
index 40934521199..06846e79690 100644
--- a/libobjc/objc-private/module-abi-8.h
+++ b/libobjc/objc-private/module-abi-8.h
@@ -277,12 +277,6 @@ struct objc_class {
(cls)->info >>= (HOST_BITS_PER_LONG/2); \
__CLS_SETINFO(cls, (((unsigned long)num) << (HOST_BITS_PER_LONG/2))); })
-static inline long
-class_get_instance_size(Class _class)
-{
- return CLS_ISCLASS(_class)?_class->instance_size:0;
-}
-
/* The compiler generates one of these structures for each category.
A class may have many categories and contain both instance and
factory methods. */
OpenPOWER on IntegriCloud