This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add PERLSI_MULTICALL
authorDavid Mitchell <davem@iabyn.com>
Tue, 2 Jun 2015 10:51:44 +0000 (11:51 +0100)
committerDavid Mitchell <davem@iabyn.com>
Fri, 19 Jun 2015 07:44:17 +0000 (08:44 +0100)
commite1a10f35503e6758601f1a5c97682620c4644bc8
treed22ca05f94079c48fd1a5d11eb3189d0b69e96f5
parenta8fc6464d21b7e1fc056ca7bd504ada3f88770d7
add PERLSI_MULTICALL

Currently when MULTICALL pushes a new stackinfo, it uses the si_type
PERLSI_SORT. This is probably just a hangover from when the MULTICALL code
was created from similar code used to implement sort.

Change it to use the new PERLSI_MULTICALL si_type.

The si_type value is mainly used for debugging/dumping purposes,
apart from a few places where we check for whether this is
the top stack (PERLSI_MAIN); or check for a sort BLOCK (cxix = 0,
CXt_NULL, PERLSI_SORT).

So this commit should have no immediate effect. It will in future
however allow us to detect whether we have a sort or a true MULTICALL.
cop.h
deb.c