summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-08-13 12:07:38 +0100
committerDavid Mitchell <davem@iabyn.com>2015-08-17 11:16:23 +0100
commit7ede59473c4d7a55acad865d53265f59b4a6c628 (patch)
treed0dc5814833310aac219aaab37b0e65ab7076881 /gv.h
parent808ce55782035154ec42358256dbec2e226977fe (diff)
downloadperl-7ede59473c4d7a55acad865d53265f59b4a6c628.tar.gz
Eliminate GvASSIGN_GENERATION and _set macros
Since we no longer scan package vars with PL_generation for OPpASSIGN_COMMON* purposes, eliminate the macros used for that purpose.
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gv.h b/gv.h
index 69414ec2c8..a6b695ed3d 100644
--- a/gv.h
+++ b/gv.h
@@ -72,11 +72,6 @@ struct gp {
#define GvNAME(gv) GvNAME_get(gv)
#define GvNAMELEN(gv) GvNAMELEN_get(gv)
-#define GvASSIGN_GENERATION(gv) (0 + ((XPV*) SvANY(gv))->xpv_len)
-#define GvASSIGN_GENERATION_set(gv,val) \
- STMT_START { assert(SvTYPE(gv) == SVt_PVGV); \
- (((XPV*) SvANY(gv))->xpv_len = (val)); } STMT_END
-
/*
=head1 GV Functions