diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-07-12 12:24:06 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-07-12 13:20:11 -0700 |
commit | 7aef8e5bd1492c43f457ca4b48d5fd445e579949 (patch) | |
tree | 94aad3f91d3b0984189982fa849c9fa3f57f4ca6 /makedef.pl | |
parent | 44f6ad628fc501c4dd53b75fe6c1027412aabf35 (diff) | |
download | perl-7aef8e5bd1492c43f457ca4b48d5fd445e579949.tar.gz |
Eliminate PL_OP_SLAB_ALLOC
This commit eliminates the old slab allocator. It had bugs in it, in
that ops would not be cleaned up properly after syntax errors. So why
not fix it? Well, the new slab allocator *is* the old one fixed.
Now that this is gone, we don’t have to worry as much about ops leak-
ing when errors occur, because it won’t happen any more.
Recent commits eliminated the only reason to hang on to it:
PERL_DEBUG_READONLY_OPS required it.
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/makedef.pl b/makedef.pl index 72d4a87955..c1fd4c195c 100644 --- a/makedef.pl +++ b/makedef.pl @@ -404,21 +404,6 @@ unless ($define{'PERL_IMPLICIT_CONTEXT'}) { ); } -unless ($define{'PL_OP_SLAB_ALLOC'}) { - ++$skip{$_} foreach qw( - PL_OpPtr - PL_OpSlab - PL_OpSpace - ); -} - -unless ($define{'PERL_DEBUG_READONLY_OPS'} && $define{'PL_OP_SLAB_ALLOC'}){ - ++$skip{$_} foreach qw( - PL_slab_count - PL_slabs - ); -} - unless ($define{'PERL_NEED_APPCTX'}) { ++$skip{PL_appctx}; } |