From 572d598f754af334bea81530a84b95b5605fe3c4 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Sat, 5 Feb 2011 14:23:57 +0000 Subject: pp_subst: remove a superflous PUTBACK/SPAGAIN These were added around a mg_set() call before the stack-of-stacks mechanism was introduced, which has made them redundant. This is another step in making two branches of code more identical --- pp_hot.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'pp_hot.c') diff --git a/pp_hot.c b/pp_hot.c index 88d42a5fb9..5a920d4d4d 100644 --- a/pp_hot.c +++ b/pp_hot.c @@ -2320,11 +2320,7 @@ PP(pp_subst) } (void)SvPOK_only_UTF8(TARG); TAINT_IF(rxtainted); - if (SvSMAGICAL(TARG)) { - PUTBACK; - mg_set(TARG); - SPAGAIN; - } + SvSETMAGIC(TARG); SvTAINT(TARG); if (doutf8) SvUTF8_on(TARG); -- cgit v1.2.1