Ticket #1879 (closed deprecation: fixed)
|Reported by:||whiteknight||Owned by:||whiteknight|
The Parrot_compreg function registers a C function pointer as an NCI PMC in the IGLOBALS_COMPREG_HASH global. This is only used by IMCC, and is not really a sustainable solution. Basic NCI PMCs do not follow the interface suggested in PDD31, although that's not really the biggest problem here.
A much more sustainable solution would be a function which takes a compiler PMC and registers it. IMCC and any other utility that wants to, can create it's own NCI PMC and register that through the same interface.
I would like to deprecate the Parrot_compreg function and replace it with a more sustainable and extendable interface.