Front page | perl.perl5.porters |
Postings from October 2011
a free bit in SvFLAGS
Thread Next
From:
Dave Mitchell
Date:
October 7, 2011 12:19
Subject:
a free bit in SvFLAGS
Message ID:
20111007191900.GF3046@iabyn.com
with the following two commits I've freed up a bit in SvFLAGS. Please
don't squander it.
commit d3ce79bdc53b8fe8e6eb440713ea89624d91dffb
Author: David Mitchell <davem@iabyn.com>
AuthorDate: Fri Oct 7 20:01:08 2011 +0100
Commit: David Mitchell <davem@iabyn.com>
CommitDate: Fri Oct 7 20:07:48 2011 +0100
renumber SVpad_STATE and free a bit in SvFLAGS
SVpad_STATE is only used on SVs which hold PAD names; make it share the
same flags bit as SVprv_WEAKREF/SVf_IVisUV. Together with the previous
commit, this frees up a single bit in SvFLAGS, 0x00010000.
M sv.h
commit 9a214eecd07ed44274740f81d8dce0e526badf80
Author: David Mitchell <davem@iabyn.com>
AuthorDate: Fri Oct 7 15:38:56 2011 +0100
Commit: David Mitchell <davem@iabyn.com>
CommitDate: Fri Oct 7 20:07:48 2011 +0100
make SVs_PADTMP and SVs_PADSTALE share a bit
SVs_PADSTALE is only meaningful with SVs_PADMY, while
SVs_PADTMP is only meaningful with !SVs_PADMY,
so let them share the same flag bit.
Note that this doesn't yet free a bit in SvFLAGS, as the two
bits are also used for SVpad_STATE, SVpad_TYPED.
(This is is follow-on to 62bb6514085e5eddc42b4fdaf3713ccdb7f1da85.)
M dump.c
M pad.c
M pp_ctl.c
M scope.c
M sv.c
M sv.h
--
The Enterprise's efficient long-range scanners detect a temporal vortex
distortion in good time, allowing it to be safely avoided via a minor
course correction.
-- Things That Never Happen in "Star Trek" #21
Thread Next
-
a free bit in SvFLAGS
by Dave Mitchell