From 6ffceeb7a338e77238d41577677b09a402d84fa0 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sun, 9 Nov 2014 10:54:39 -0800 Subject: =?UTF-8?q?Don=E2=80=99t=20check=20OPpTARGET=5FMY=20on=20match=20o?= =?UTF-8?q?ps=20at=20run=20time?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The offset in op_targ is sufficient. The next commit will take advan- tage of this. --- pp_hot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pp_hot.c') diff --git a/pp_hot.c b/pp_hot.c index ae1040c3a5..55e2c970c5 100644 --- a/pp_hot.c +++ b/pp_hot.c @@ -1394,7 +1394,7 @@ PP(pp_match) if (PL_op->op_flags & OPf_STACKED) TARG = POPs; - else if (PL_op->op_private & OPpTARGET_MY) + else if (ARGTARG) GETTARGET; else { TARG = DEFSV; @@ -2098,7 +2098,7 @@ PP(pp_subst) if (PL_op->op_flags & OPf_STACKED) TARG = POPs; - else if (PL_op->op_private & OPpTARGET_MY) + else if (ARGTARG) GETTARGET; else { TARG = DEFSV; -- cgit v1.2.1