summaryrefslogtreecommitdiff
path: root/cv.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 /cv.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 'cv.h')
-rw-r--r--cv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/cv.h b/cv.h
index f7b1b66f0a..e2644e1de1 100644
--- a/cv.h
+++ b/cv.h
@@ -191,10 +191,6 @@ See L<perlguts/Autoloading with XSUBs>.
/* Flags for newXS_flags */
#define XS_DYNAMIC_FILENAME 0x01 /* The filename isn't static */
-#ifdef PL_OP_SLAB_ALLOC
-# define cv_forget_slab(cv) NOOP
-#endif
-
/*
=head1 CV reference counts and CvOUTSIDE