summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-24 10:31:28 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-24 10:31:28 +0000
commitb708784ed29bddb36a466db5f726fe7b7635e19b (patch)
tree92a122ed8f06a2782dcf5b8db39a49b27343fddb /pp_hot.c
parent0d746ee5c1be80219aec2680f655ad5be66ccdf0 (diff)
downloadperl-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.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 71bbb5c03f..dfa19fd11a 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -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;