This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
S_padhv_rv2hv_common(): unroll hv_scalar() calls
authorDavid Mitchell <davem@iabyn.com>
Wed, 19 Jul 2017 16:06:28 +0000 (17:06 +0100)
committerDavid Mitchell <davem@iabyn.com>
Thu, 27 Jul 2017 10:30:24 +0000 (11:30 +0100)
commite1ad5d4c666831a6890bdfd5b332e1bf64677f89
treea519a8025cdb669558899767445d78ed4ca09b8a
parent3cd2c7d486f06a3e4bc31c2f5afc51e5224fcac5
S_padhv_rv2hv_common(): unroll hv_scalar() calls

This function makes a couple of calls to hv_scalar(), which does
one of two things depending on whether hash is tied or not.
Since in S_padhv_rv2hv_common() we've already determined whether the
hash is tied, just include the relevant part(s) of hv_scalar() directly.

The code will be reorganised shortly.
pp_hot.c