summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-12-26 12:30:25 +0000
committerDavid Mitchell <davem@iabyn.com>2016-02-03 09:19:18 +0000
commit274ed8ae511aa4c52d0c3e975eb44853d4f5336f (patch)
tree77967bff39296f7b4c6519c6b7618fa3d8da5555 /perl.c
parentfb2f5dcb57b41dc6ca1183fbeb492312ff40ed58 (diff)
downloadperl-274ed8ae511aa4c52d0c3e975eb44853d4f5336f.tar.gz
PUSHEVAL: make retop a parameter
Rather than doing cx->blk_eval.retop = NULL in PUSHEVAL, then relying on the caller to subsequently change it to something more useful, make it an arg to PUSHEVAL.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index c86daa99e4..9858f16af2 100644
--- a/perl.c
+++ b/perl.c
@@ -2779,7 +2779,7 @@ Perl_call_sv(pTHX_ SV *sv, VOL I32 flags)
myop.op_other = (OP*)&myop;
(void)POPMARK;
old_cxix = cxstack_ix;
- create_eval_scope(flags|G_FAKINGEVAL);
+ create_eval_scope(NULL, flags|G_FAKINGEVAL);
(void)INCMARK;
JMPENV_PUSH(ret);