summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-04-15 14:03:08 +0100
committerNicholas Clark <nick@ccl4.org>2010-04-15 14:03:08 +0100
commitb770e143548c6091e84d4ed5051d27d26e0f82e8 (patch)
tree707a873671364abd6b2b78838280a86052f4197c /pp_hot.c
parent339aac22c2768aa840858c042e33fbf04d4f51ed (diff)
downloadperl-b770e143548c6091e84d4ed5051d27d26e0f82e8.tar.gz
Fix code before statement error introduced by f410a2119920dd04.
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_hot.c b/pp_hot.c
index ff86b91f43..6224f3db6a 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2081,11 +2081,11 @@ PP(pp_subst)
bool is_cow;
#endif
SV *nsv = NULL;
+ /* known replacement string? */
+ register SV *dstr = (pm->op_pmflags & PMf_CONST) ? POPs : NULL;
PERL_ASYNC_CHECK();
- /* known replacement string? */
- register SV *dstr = (pm->op_pmflags & PMf_CONST) ? POPs : NULL;
if (PL_op->op_flags & OPf_STACKED)
TARG = POPs;
else if (PL_op->op_private & OPpTARGET_MY)