This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
signatures: make param and optional param count IV
authorDavid Mitchell <davem@iabyn.com>
Mon, 25 Jul 2016 11:24:39 +0000 (12:24 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Aug 2016 19:54:41 +0000 (20:54 +0100)
commit6daeaaa3123e456674380042544721b5f7a41f69
treeea41fe0c05f003c52d2e24dee736aef801cc32eb
parentbb6b75cd5c416da00accfd5a10bde1a1cdde693a
signatures: make param and optional param count IV

During the course of parsing end exection, these values get stored
as ints and UVs, then used as SSize_t.

Standardise on IVs instead. Technically they can never be negative, but
their final use is as indices into AVs, which is SSize_t, so it's
easier to standardise on a signed value throughout.
ext/B/B.xs
parser.h
perly.act
perly.h
perly.tab
perly.y
pp.c
toke.c