This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[MERGE] make RC-stack-aware: pp_readline() etc
Remove the temporary wrappers from:
pp_readline()
pp_rcatline()
pp_glob()
pp_rv2gv()
pp_index()
and dependent functions.
This branch started out as an attempt to unwrap a few simple functions
like pp_index() and pp_rv2gv(). But pp_readline() calls pp_rv2gv(),
so that had to be unwrapped too. Then the bulk of pp_readline()'s
implementation is done by do_readline(), so that had to be updated too.
But pp_rcatline() and pp_glob() also call out to do_readline(), so they
had to be fixed too. And pp_glob() outsources most of its work to the
XS module File::Glob, so calling that had to be wrapped to handle a
non-refcounted stack in the XS code. Then it turns out that code in
IO.xs calls pp_readline() directly and needed tweaking.
So now its a larger branch that touches a lot of stuff.