summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-07-12 12:24:06 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-07-12 13:20:11 -0700
commit7aef8e5bd1492c43f457ca4b48d5fd445e579949 (patch)
tree94aad3f91d3b0984189982fa849c9fa3f57f4ca6 /op.h
parent44f6ad628fc501c4dd53b75fe6c1027412aabf35 (diff)
downloadperl-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 'op.h')
-rw-r--r--op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index ceedf35bce..ff2a5401b4 100644
--- a/op.h
+++ b/op.h
@@ -739,7 +739,7 @@ least an C<UNOP>.
* cating an op if there are no freed ops available or big enough.
*/
-#if !defined(PL_OP_SLAB_ALLOC) && defined(PERL_CORE)
+#ifdef PERL_CORE
struct opslot {
/* keep opslot_next first */
OPSLOT * opslot_next; /* next slot */