Integrate:
[ 26446]
Add an optimisation to allow proxy constant subroutines to be copied
as proxy constant subroutines in a new symbol table where possible.
(Rather than converting them to full blown constant subroutines and
instantiating 2 typeglobs)
[ 26448]
Regression tests for proxy subroutine glob assignment.
Fix a bug (it turns out that a typeglob isn't SvOK())
Remove stray debugging code.
[ 26470]
Now that proxy subroutines can be unproxied in 2 places without
becoming the same newCONSTSUB, need an explicit check to avoid a
warning about subroutines being redefined, as there has never been
a warning when you assing the same subroutine to a glob's GvCV()
[ 26482]
Unless the peephole optimiser already knows that we're in void context,
avoid even attempting the whole proxy constant sub copying
optimisation.
p4raw-link: @26482 on //depot/perl:
de3370bc7b91fa6f0f1f71c18926bc94bdc83114
p4raw-link: @26470 on //depot/perl:
2111d92849f8443baa1adfc372a6bedf4537f3e8
p4raw-link: @26448 on //depot/perl:
bb112e5a4b9e874a52fe07cda10dbc94d64316d8
p4raw-link: @26446 on //depot/perl:
e26df76ac13ccf3f750bea05eac65b7ffffc7826
p4raw-id: //depot/maint-5.8/perl@29785
p4raw-edited: from //depot/perl@26482 'edit in' op.c (@26450..)
p4raw-integrated: from //depot/perl@26448 'edit in' t/op/gv.t
(@26422..) pp_hot.c (@26446..)
p4raw-integrated: from //depot/perl@26446 'edit in'
ext/B/t/concise-xs.t (@26402..) sv.c (@26439..) 'merge in' gv.h
(@26425..) gv.c (@26427..) op.h (@26429..) pp.c (@26434..)