[parrot/parrot] e6ed49: [core] WIP fix morph [GH #372]
GitHub
noreply at github.com
Sun Mar 9 19:41:52 UTC 2014
Branch: refs/heads/rurban/morph-gh372
Home: https://github.com/parrot/parrot
Commit: e6ed49dd75d4535f1a9a95fbee9d3d4a45ccd7c2
https://github.com/parrot/parrot/commit/e6ed49dd75d4535f1a9a95fbee9d3d4a45ccd7c2
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:
- 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