diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-07 22:07:48 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-07 22:07:48 +0000 |
commit | 48cb632404d9b49ca4f04e47de5a40b8165e7e7b (patch) | |
tree | e5b82f4dfe9df54ded3816a18f630012d3b9c2a9 /libobjc/gc.c | |
parent | 8ce5985492e01af26fb8cabcc38118f8ae0a91e2 (diff) |
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/gc.c')
-rw-r--r-- | libobjc/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libobjc/gc.c b/libobjc/gc.c index 9b117dcfdf6..d009230b78f 100644 --- a/libobjc/gc.c +++ b/libobjc/gc.c @@ -304,7 +304,7 @@ __objc_generate_gc_type_description (Class class) /* The number of bits in the mask is the size of an instance in bytes divided by the size of a pointer. */ - bits_no = (ROUND (class_get_instance_size (class), sizeof (void *)) + bits_no = (ROUND (class_getInstanceSize (class), sizeof (void *)) / sizeof (void *)); size = ROUND (bits_no, BITS_PER_WORD) / BITS_PER_WORD; mask = objc_atomic_malloc (size * sizeof (int)); |