This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make RC-stack-aware: unwrap rv2av etc pp fns
authorDavid Mitchell <davem@iabyn.com>
Wed, 30 Aug 2023 10:06:36 +0000 (11:06 +0100)
committerDavid Mitchell <davem@iabyn.com>
Mon, 4 Sep 2023 13:16:17 +0000 (14:16 +0100)
commitc1771c7a7fd86bac2159e1d65c8037dd70228099
treec434c37bc4cf54bddd39da0100993bb4c5989bc3
parentda2d8d051bc3afdfa7c968e22cb6bbee697f36e5
make RC-stack-aware: unwrap rv2av etc pp fns

Remove the temporary wrappers from a set of pp() functions which
handle retrieving the whole contents of an array or hash. These needed
to be done as one commit because there's a lot of shared static
functions etc that all need to be changed at the same time.

The unwrapped pp() functions are:

    do_kv        (a.k.a. pp_keys, pp_values)
    pp_rv2sv
    pp_padrange
    pp_padav
    pp_padhv
    pp_rv2av     (a.k.a. pp_rv2hv)
    pp_lvavref

In addition the following static or non-public functions were fixed and
changed:

    Perl_hv_pushkv
    S_padhv_rv2hv_common  - it's now responsible for popping arg
    Perl_softref2xv       - its signature has changed.
doop.c
embed.fnc
hv.c
pp.c
pp_hot.c
proto.h