diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-04-24 10:31:28 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-04-24 10:31:28 +0000 |
commit | b708784ed29bddb36a466db5f726fe7b7635e19b (patch) | |
tree | 92a122ed8f06a2782dcf5b8db39a49b27343fddb /pp_hot.c | |
parent | 0d746ee5c1be80219aec2680f655ad5be66ccdf0 (diff) | |
download | perl-b708784ed29bddb36a466db5f726fe7b7635e19b.tar.gz |
Remove the code that handles assignment to state variables
p4raw-id: //depot/perl@31049
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -127,15 +127,6 @@ PP(pp_sassign) SV * const temp = left; left = right; right = temp; } - else if (PL_op->op_private & OPpASSIGN_STATE) { - if (SvPADSTALE(right)) - SvPADSTALE_off(right); - else { - (void)POPs; - PUSHs(right); - RETURN; /* ignore assignment */ - } - } if (PL_tainting && PL_tainted && !SvTAINTED(left)) TAINT_NOT; if (PL_op->op_private & OPpASSIGN_CV_TO_GV) { @@ -972,13 +963,6 @@ PP(pp_aassign) int duplicates = 0; SV **firsthashrelem = NULL; /* "= 0" keeps gcc 2.95 quiet */ - if (PL_op->op_private & OPpASSIGN_STATE) { - if (SvPADSTALE(*firstlelem)) - SvPADSTALE_off(*firstlelem); - else - RETURN; /* ignore assignment */ - } - PL_delaymagic = DM_DELAY; /* catch simultaneous items */ gimme = GIMME_V; |