Skip to content

Commit

Permalink
Don't touch wb_variant_vtable. It's not used anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Feb 7, 2011
1 parent e9da989 commit 3da3aa9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/pmc.c
Expand Up @@ -1001,8 +1001,6 @@ Parrot_pmc_create_mro(PARROT_INTERP, INTVAL type)

if (vtable->ro_variant_vtable)
vtable->ro_variant_vtable->mro = mro;
if (vtable->wb_variant_vtable)
vtable->wb_variant_vtable->mro = mro;

count = VTABLE_elements(interp, mro_list);

Expand Down
3 changes: 0 additions & 3 deletions src/pmc/class.pmc
Expand Up @@ -345,9 +345,6 @@ init_class_from_hash(PARROT_INTERP, ARGMOD(PMC *self), ARGIN_NULLOK(PMC *info))
if (self->vtable->ro_variant_vtable)
new_vtable->ro_variant_vtable =
Parrot_vtbl_clone_vtable(interp, self->vtable->ro_variant_vtable);
if (self->vtable->wb_variant_vtable)
new_vtable->wb_variant_vtable =
Parrot_vtbl_clone_vtable(interp, self->vtable->wb_variant_vtable);

/* Store the class's vtable in the global table */
interp->vtables[type_num] = new_vtable;
Expand Down

0 comments on commit 3da3aa9

Please sign in to comment.