summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-04-10 14:49:31 +0000
committerNicholas Clark <nick@ccl4.org>2007-04-10 14:49:31 +0000
commitc4bd3ae5119ffa374bc2a939fae6f0e624cc7804 (patch)
tree07d2f4eb851148631155acca8aa7b41177233b13 /op.h
parent1cdf7faf9fb9e7feb64bb63a4448c8361e406417 (diff)
downloadperl-c4bd3ae5119ffa374bc2a939fae6f0e624cc7804.tar.gz
S_forget_pmop() only needs a flags argument for the ithreads case,
because PmopSTASH_free() is a no-op in an unthreaded perl. p4raw-id: //depot/perl@30891
Diffstat (limited to 'op.h')
-rw-r--r--op.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/op.h b/op.h
index 2631fa8228..d9d53365e6 100644
--- a/op.h
+++ b/op.h
@@ -422,6 +422,8 @@ struct pmop {
# define PmopSTASHPV(o) (PmopSTASH(o) ? HvNAME_get(PmopSTASH(o)) : NULL)
/* op_pmstashstartu.op_pmstash is not refcounted */
# define PmopSTASHPV_set(o,pv) PmopSTASH_set((o), gv_stashpv(pv,GV_ADD))
+/* Note that if this becomes non-empty, then S_forget_pmop in op.c will need
+ changing */
# define PmopSTASH_free(o)
#endif