diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-04-11 19:26:48 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-04-11 19:26:48 +0000 |
commit | cbb1fbeae87953fd0cb732e37262675ddbb9ffdd (patch) | |
tree | 627482c26fdb242e6cc20f6dd1b55bbdccacf8bd /op.c | |
parent | 409dfe773507bb644ee4393d7be6447672587c1d (diff) | |
download | perl-cbb1fbeae87953fd0cb732e37262675ddbb9ffdd.tar.gz |
First stab at using the pad to store the serialised hints data.
This approach is almost certainly not only wrong, but also doomed.
But it's needed to build a correct solution.
p4raw-id: //depot/perl@27768
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3956,7 +3956,9 @@ Perl_newSTATEOP(pTHX_ I32 flags, char *label, OP *o) cop->cop_io = newSVsv(PL_curcop->cop_io) ; cop->cop_hints = PL_curcop->cop_hints; if (cop->cop_hints) { + HINTS_REFCNT_LOCK; cop->cop_hints->refcounted_he_refcnt++; + HINTS_REFCNT_UNLOCK; } if (PL_copline == NOLINE) |