[CLASSES]: Remove class_member ->class backpointer

Not used anymore.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-01-07 15:07:39 -02:00
parent 6c90357d6e
commit 085df7d247
2 changed files with 0 additions and 2 deletions

View File

@ -1135,7 +1135,6 @@ static struct class *class__new(Dwarf_Die *die)
static void class__add_member(struct class *self, struct class_member *member) static void class__add_member(struct class *self, struct class_member *member)
{ {
++self->nr_members; ++self->nr_members;
member->class = self;
list_add_tail(&member->tag.node, &self->members); list_add_tail(&member->tag.node, &self->members);
} }

View File

@ -123,7 +123,6 @@ static inline struct array_type *tag__array_type(const struct tag *self)
struct class_member { struct class_member {
struct tag tag; struct tag tag;
char *name; char *name;
struct class *class;
uint16_t offset; uint16_t offset;
uint8_t bit_offset; uint8_t bit_offset;
uint8_t bit_size; uint8_t bit_size;