# New Ticket Created by  chromatic 
# Please include the string:  [perl #45281]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=45281 >


Several PMCs use vtable methods directly, rather than going through the 
accessor macros.  These are particularly evident in bytecode freezing and 
thawing.

The existing code looks like:

        io->vtable->push_integer(INTERP, io, sub->comp_flags);
        io->vtable->push_integer(INTERP, io, sub->vtable_index);

and it should be:

       VTABLE_push_integer(INTERP, io, sub->comp_flags);
        VTABLE_push_integer(INTERP, io, sub->vtable_index);

This task requires minimal C skills.  The relevant PMCs are:

src/pmc/array.pmc
src/pmc/eval.pmc
src/pmc/fixedbooleanarray.pmc
src/pmc/fixedintegerarray.pmc
src/pmc/fixedpmcarray.pmc
src/pmc/fixedstringarray.pmc
src/pmc/float.pmc
src/pmc/hash.pmc
src/pmc/integer.pmc
src/pmc/key.pmc
src/pmc/lexinfo.pmc
src/pmc/orderedhash.pmc
src/pmc/pair.pmc
src/pmc/parrotclass.pmc
src/pmc/parrotobject.pmc
src/pmc/resizablebooleanarray.pmc
src/pmc/string.pmc
src/pmc/sub.pmc

-- c

Reply via email to