#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):
Existing reference I found for PObj_bufstart are in
gc system
list.c (This one uses the Buffer struct so that's ok)
string.c (To my opinion that's ok)
debug.c in dump_string (ok)
pmc_freeze.c (an assert related to string)
nativecall.pl (related to string)
As far I can the PObj_bufstart and PObj_buflen are used by the gc system
and string system.
I do not know exactly how the gc work, but it seems that the gc can't do
without these 2 field.
The string subsystem memory management is closely related to memory/gc
management to make efficiently use of the memory. So this remaining uses
seem to be ok, at least in my opinion at the moment.
The list object makes use of the "struct" buffer, in a different
structure.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/549#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets