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 /op.h | |
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 'op.h')
-rw-r--r-- | op.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ Deprecated. Use C<GIMME_V> instead. =cut */ -#define GIMME_V OP_GIMME(PL_op, block_gimme()) +#define GIMME_V Perl_gimme_V(aTHX) /* Public flags */ |