From 7ede59473c4d7a55acad865d53265f59b4a6c628 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Thu, 13 Aug 2015 12:07:38 +0100 Subject: 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. --- gv.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gv.h') 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 -- cgit v1.2.1