This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove eval's usage of SvSCREAM
authorDavid Mitchell <davem@iabyn.com>
Thu, 10 Nov 2016 14:44:10 +0000 (14:44 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 12 Nov 2016 16:15:09 +0000 (16:15 +0000)
commit4c57ced57467061af9e672665cba30edd3391432
tree2a3aad023851e220609e6aa3c79522d9124af3c0
parent8efda520355126b24fb7c81c753eb2028dcc43bd
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.
cop.h
inline.h
sv.c
sv.h
toke.c