Ticket #549 (closed todo: fixed)
Kill UnionVal
Reported by: | whiteknight | Owned by: | whiteknight |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | |
Severity: | medium | Keywords: | UnionVal |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Thanks to cotto++, PMCs now don't rely on UnionVal anymore. However, a number of other structures still do rely on it:
1) call_state structures, as used in the various calling conventions and JIT system files 2) stacks, especially in src/stacks.c. 3) Lists, in src/list.c. 4) STRINGs, in src/string/*. Uses mostly buflen and bufstart to manage system memory. Also shows up in a few places in src/gc/* where string memory is managed.
There are a few other places maybe too. We're going to have to fix up all these systems to avoid UnionVal before we can remove it completely.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.