summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1999-08-26 23:33:01 -0400
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-29 11:24:03 +0000
commitd30110745a7a78b4c83e13a8406bad8c3e3294bf (patch)
treecd678ffeb189d909a729f68ec3e9c10a8a48d1b3 /op.c
parent09bef84370e90d727656ea11ba5ee8be80e361d3 (diff)
downloadperl-d30110745a7a78b4c83e13a8406bad8c3e3294bf.tar.gz
Speeding up XSUB calls up to 66%
To: perl5-porters@perl.org (Mailing list Perl5) Message-Id: <199908270733.DAA16927@monk.mps.ohio-state.edu> Addendum: it's "only" 33% speedup. p4raw-id: //depot/cfgperl@4044
Diffstat (limited to 'op.c')
-rw-r--r--op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.c b/op.c
index 42ed8b201e..8ff0353491 100644
--- a/op.c
+++ b/op.c
@@ -5624,6 +5624,7 @@ Perl_ck_subr(pTHX_ OP *o)
I32 arg = 0;
STRLEN n_a;
+ o->op_private |= OPpENTERSUB_HASTARG;
for (cvop = o2; cvop->op_sibling; cvop = cvop->op_sibling) ;
if (cvop->op_type == OP_RV2CV) {
SVOP* tmpop;