diff options
author | David Mitchell <davem@iabyn.com> | 2019-09-17 15:28:51 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2019-09-19 08:42:46 +0100 |
commit | 91c3b9cb4c0600d1f8d6862715179da11a4864c6 (patch) | |
tree | 89dcf978def55e2eb9dc994e8adc622795c680e1 /pp_ctl.c | |
parent | 740449bf2292b54e1824f48789ef1a15877469d5 (diff) | |
download | perl-91c3b9cb4c0600d1f8d6862715179da11a4864c6.tar.gz |
add Perl_gimme_V() static inline fn for GIMME_V
This function makes use of PL_curstackinfo->si_cxsubix to avoid the
overhead of a call to block_gimme() when the context of the op is
unknown.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1389,6 +1389,8 @@ Perl_dowantarray(pTHX) return (gimme == G_VOID) ? G_SCALAR : gimme; } +/* note that this function has mostly been superseded by Perl_gimme_V */ + U8 Perl_block_gimme(pTHX) { |