diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-06-26 10:08:58 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-06-29 00:20:59 -0700 |
commit | be49fd9f9c5b1a5632988410e5c38c5558a9794c (patch) | |
tree | 5135922eb581bccb63d0172d73f40d9f591ccaef /pp_ctl.c | |
parent | 7d82c9ce7c2bfa3a12c9a63cdbf316426bfee222 (diff) | |
download | perl-be49fd9f9c5b1a5632988410e5c38c5558a9794c.tar.gz |
Define cv_forget_slab under PL_OP_SLAB_ALLOC
Instead of using #ifndef every time we call cv_forget_slab, just
define it as a no-op under PL_OP_SLAB_ALLOC.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -3444,9 +3444,7 @@ S_doeval(pTHX_ int gimme, CV* outside, U32 seq, HV *hh) PL_op = saveop; if (yystatus != 3) { if (PL_eval_root) { -#ifndef PL_OP_SLAB_ALLOC cv_forget_slab(evalcv); -#endif op_free(PL_eval_root); PL_eval_root = NULL; } @@ -3489,9 +3487,7 @@ S_doeval(pTHX_ int gimme, CV* outside, U32 seq, HV *hh) CopLINE_set(&PL_compiling, 0); SAVEFREEOP(PL_eval_root); -#ifndef PL_OP_SLAB_ALLOC cv_forget_slab(evalcv); -#endif DEBUG_x(dump_eval()); |