[parrot/parrot] 1997c9: [core] WIP fix morph [GH #372]
GitHub
noreply at github.com
Sun Mar 9 19:43:19 UTC 2014
Branch: refs/heads/rurban/morph-gh372
Home: https://github.com/parrot/parrot
Commit: 1997c9ca32cf24decf074a3388ed3ab2b8eafab8
https://github.com/parrot/parrot/commit/1997c9ca32cf24decf074a3388ed3ab2b8eafab8
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-09 (Sun, 09 Mar 2014)
Changed paths:
M src/pmc.c
M src/pmc/default.pmc
M src/pmc/fixedpmcarray.pmc
M src/pmc/resizablepmcarray.pmc
M src/pmc/undef.pmc
M t/src/extend_vtable.t
Log Message:
-----------
[core] WIP fix morph [GH #372]
pass the correct type info to pmc_reuse
allow the 2nd argument to be a Object PMC, so
use Parrot_pmc_reuse_init instead.
Define some FixedPMCArray morphs.
TODO:
- get_class Undef returns a PMCProxy object
- More basic arrays, Integer, String and Hash morphes
- non-builtin types via PARROT_CLASS(type)->id
and Parrot_pmc_reuse_by_class
- morph old values into new type (pmc specific).
e.g. *Array => Integer needs to assign the elements to the get_integer iv
More information about the parrot-commits
mailing list