Skip to content

Commit 811f2f4

Browse files
cmpwidavidchisnall
authored andcommitted
Remove unused structure objc_class_gcc.
Despite what the comment says, it isn't used anywhere in the entire codebase.
1 parent 121f222 commit 811f2f4

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

class.h

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -275,30 +275,6 @@ struct objc_class_gsv1
275275
uintptr_t weak_pointers;
276276
};
277277

278-
/**
279-
* Structure representing the GCC ABI class structure. This is only ever
280-
* required so that we can take its size - struct objc_class begins with the
281-
* same fields, and you can test the new abi flag to tell whether it is safe to
282-
* access the subsequent fields.
283-
*/
284-
struct objc_class_gcc
285-
{
286-
Class isa;
287-
Class super_class;
288-
const char *name;
289-
long version;
290-
unsigned long info;
291-
long instance_size;
292-
struct objc_ivar_list_gcc *ivars;
293-
struct objc_method_list *methods;
294-
void *dtable;
295-
Class subclass_list;
296-
Class sibling_class;
297-
struct objc_protocol_list *protocols;
298-
void *gc_object_type;
299-
};
300-
301-
302278
/**
303279
* An enumerated type describing all of the valid flags that may be used in the
304280
* info field of a class.

0 commit comments

Comments
 (0)