summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-12-24 23:12:37 +0000
committerDavid Mitchell <davem@iabyn.com>2016-02-03 09:19:17 +0000
commitef5889910d6925f89c05af2dac7a543a9678fb52 (patch)
tree18e92a1ec5fd3ae8090a7041732021362667dbd7
parentcd97dc8d499d664d75b7362093b5f93b8eef282d (diff)
downloadperl-ef5889910d6925f89c05af2dac7a543a9678fb52.tar.gz
pp_redo()): reorder some stuff
It probably doesn't make any difference, but reorder the FREETMPS, CX_LEAVE_SCOPE and TOPBLOCK so it matches the order we do things when leaving a scope.
-rw-r--r--pp_ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index c222dbbb7b..901eff86a5 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2570,9 +2570,9 @@ PP(pp_redo)
redo_op = redo_op->op_next;
}
- TOPBLOCK(cx);
- CX_LEAVE_SCOPE(cx);
FREETMPS;
+ CX_LEAVE_SCOPE(cx);
+ TOPBLOCK(cx);
PL_curcop = cx->blk_oldcop;
PERL_ASYNC_CHECK();
return redo_op;