diff options
author | David Mitchell <davem@iabyn.com> | 2016-11-10 14:44:10 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-11-12 16:15:09 +0000 |
commit | 4c57ced57467061af9e672665cba30edd3391432 (patch) | |
tree | 2a3aad023851e220609e6aa3c79522d9124af3c0 /sv.h | |
parent | 8efda520355126b24fb7c81c753eb2028dcc43bd (diff) | |
download | perl-4c57ced57467061af9e672665cba30edd3391432.tar.gz |
remove eval's usage of SvSCREAM
Currently the SvSCREAM flag is set on the sv pointed to by
cx->blk_eval.cur_text, to indicate that it is ref counted.
Instead, use a spare bit in the blk_u16 field of the eval context.
This is to reduce the number of odd special cases for the SvSCREAM flag.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -370,7 +370,6 @@ perform the upgrade if necessary. See C<L</svtype>>. #define SVp_NOK 0x00002000 /* has valid non-public numeric value */ #define SVp_POK 0x00004000 /* has valid non-public pointer value */ #define SVp_SCREAM 0x00008000 /* method name is DOES */ - /* eval cx text is ref counted */ #define SVphv_CLONEABLE SVp_SCREAM /* PVHV (stashes) clone its objects */ #define SVpgv_GP SVp_SCREAM /* GV has a valid GP */ #define SVprv_PCS_IMPORTED SVp_SCREAM /* RV is a proxy for a constant |