#181: Update VTABLE_morph to use a class PMC
-------------------------+--------------------------------------------------
Reporter: whiteknight | Owner: Whiteknight
Type: todo | Status: new
Priority: normal | Milestone: 0.9.1
Component: core | Version:
Severity: medium | Keywords: vtable morph
Lang: | Patch:
Platform: all |
-------------------------+--------------------------------------------------
This is a semi-continuation of RT#41825:
http://rt.perl.org/rt3/Ticket/Display.html?id=41825
VTABLE_morph currently uses INTVAL PMC type numbers. I've set up the
'morph' vtable override from PIR to take a string of a class name instead
(and am actually going to update that to take a Class PMC instead). This
creates a disconnect between what's present in PIR and what's used
internally in C.
Been talking to pmichaud, and he says that VTABLE_morph should use a class
PMC also. Ideally, the morph opcode should take the same kinds of
parameters as the get_class opcode, although that is currently in limbo.
See #8 for details about that work.
I was doing some work on this in the morph_pmc_type branch, but I'm going
to temporarily abandon that to focus my energy on the get_class issue
first.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/181>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets