Re: [CVS ci] constant PMCs

2003-01-12 Thread Dan Sugalski
At 11:58 AM +0100 1/11/03, Leopold Toetsch wrote:

As already mentioned in the DOD threads, this patch adds a new 
constant_pmc_pool and one additional interface function:
PMC *constant_pmc_new_noinit(Interp*, INTVAL base_type)

We should get the freeze/thaw stuff done, then, since creating 
constant PMCs from bytecode will involve unthawing from the bytecode 
file. On the todo list. (Which actually exists, and I'll post soon)
--
Dan

--it's like this---
Dan Sugalski  even samurai
[EMAIL PROTECTED] have teddy bears and even
  teddy bears get drunk


[CVS ci] constant PMCs

2003-01-11 Thread Leopold Toetsch
As already mentioned in the DOD threads, this patch adds a new 
constant_pmc_pool and one additional interface function:
PMC *constant_pmc_new_noinit(Interp*, INTVAL base_type)

Constant PMCs are used by key constants (generated during PBC reading in 
packfile.c) and in PerlHash for a global undef object.
Probably more places for usage would be Array/PerlArray for returning 
undefs (but not for storing them in the array).

Also included: more flags cleanup, constant PMCs are no more checked 
during DOD.

leo