diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-12-28 22:03:56 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-12-28 22:03:56 +0000 |
commit | 931b58fb28fa5ca73161678109fa052134ce70b3 (patch) | |
tree | 8004f3e51a25abd506469fa31b10c2d84baab689 /pad.c | |
parent | 6c5e080d01cb781ede98cb40c5af749e9d939e17 (diff) | |
download | perl-931b58fb28fa5ca73161678109fa052134ce70b3.tar.gz |
Move PAD_COMPNAME_GEN from SvCUR to SvUVX.
p4raw-id: //depot/perl@29632
Diffstat (limited to 'pad.c')
-rw-r--r-- | pad.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -76,7 +76,7 @@ xlow+1..xhigh inclusive in the NV union is a range of cop_seq numbers for which the name is valid. For typed lexicals name SV is SVt_PVMG and SvSTASH points at the type. For C<our> lexicals, the type is also SVt_PVMG, with the OURSTASH slot pointing at the stash of the associated global (so that -duplicate C<our> declarations in the same package can be detected). SvCUR is +duplicate C<our> declarations in the same package can be detected). SvUVX is sometimes hijacked to store the generation number during compilation. If SvFAKE is set on the name SV, then that slot in the frame AV is @@ -417,8 +417,6 @@ for a slot which has no name and no active value. /* And flag whether the incoming name is UTF8 or 8 bit? Could do this either with the +ve/-ve hack of the HV code, or expanding the flag bits. Either way, this makes proper Unicode safe pad support. - Also could change the sv structure to make the NV a union with 2 U32s, - so that SvCUR() could stop being overloaded in pad SVs. NWC */ |