#549: Kill UnionVal
-------------------------+--------------------------------------------------
Reporter: whiteknight | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: none | Version:
Severity: medium | Keywords: UnionVal
Lang: | Patch:
Platform: |
-------------------------+--------------------------------------------------
Comment(by jessevdam):
I managed to kill the Unionval form the pobj.h.
I replaced the union with the _bufstart and _buflen because there are used
by the gc system. As far I know the gc system can't do without them, but I
am not sure.
The call_state struct in the call.h did also make use of the unionval, but
this is a different structure then the core structures in pobj.h, so I
made a UnionCallStateVal in the call.h which is the unionval struct
without the b struct containing _bufstart and _buflen.
By doing this I also had to update the jiddebug.c and jit_debug_xcoff.c
files, but it seemed there where already gone outdated.
I also cleaned up some of the unused structures in the pobj.h.
I attached a patch with the changes I made to remove the unionval
structure.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/549#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets