diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-07-14 19:00:17 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-07-14 19:00:17 -0700 |
commit | 571a568a1025d5e998209899bcdba774861257f0 (patch) | |
tree | 53f768b111059eb6f64b1af5bffb48801e1ea3d9 /op.h | |
parent | c55d2e076a02daf604c28e6725a61c1495171552 (diff) | |
download | perl-571a568a1025d5e998209899bcdba774861257f0.tar.gz |
Remove op_latefree(d)
This was an early attempt to fix leaking of ops after syntax errors,
disabled because it was deemed to fragile. The new slab allocator
(8be227a) has solved this problem another way, so latefree(d) no
longer serves any purpose.
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 17 |
1 files changed, 2 insertions, 15 deletions
@@ -19,19 +19,9 @@ * op_type The type of the operation. * op_opt Whether or not the op has been optimised by the * peephole optimiser. - * - * See the comments in S_clear_yystack() for more - * details on the following three flags: - * - * op_latefree tell op_free() to clear this op (and free any kids) - * but not yet deallocate the struct. This means that - * the op may be safely op_free()d multiple times - * op_latefreed an op_latefree op has been op_free()d - * op_attached this op (sub)tree has been attached to a CV * op_slabbed allocated via opslab * op_savefree on savestack via SAVEFREEOP - * - * op_spare a spare bit! + * op_spare Four spare bits! * op_flags Flags common to all operations. See OPf_* below. * op_private Flags peculiar to a particular operation (BUT, * by default, set to the number of children until @@ -61,12 +51,9 @@ typedef PERL_BITFIELD16 Optype; PADOFFSET op_targ; \ PERL_BITFIELD16 op_type:9; \ PERL_BITFIELD16 op_opt:1; \ - PERL_BITFIELD16 op_latefree:1; \ - PERL_BITFIELD16 op_latefreed:1; \ - PERL_BITFIELD16 op_attached:1; \ PERL_BITFIELD16 op_slabbed:1; \ PERL_BITFIELD16 op_savefree:1; \ - PERL_BITFIELD16 op_spare:1; \ + PERL_BITFIELD16 op_spare:4; \ U8 op_flags; \ U8 op_private; #endif |