diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-11-05 22:27:47 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-11-06 06:11:04 -0800 |
commit | 82e4f303e603682165d24c22d523d1ba9149cf69 (patch) | |
tree | e42cdf749adef189d0e0eb3b89ae09bff089610f /win32/config.gc | |
parent | 3a100dabd08f34372a052d4a47935f4d713fa0f9 (diff) | |
download | perl-82e4f303e603682165d24c22d523d1ba9149cf69.tar.gz |
op.c: Skip pushmark for (...)x... in scalar cx
(...)x... is marked as a list at compile time and given a pushmark,
before the context is known. If it turns out to be called in scalar
or void context after all, then pp_repeat has to handle the mark that
has been pushed on to the markstack.
When the scalar context is applied, there is no reason not to undo
the listification, as long as there is only one left-hand argument.
That way we don’t have to execute a pushmark op and do the extra stack
fiddling at run time.
Diffstat (limited to 'win32/config.gc')
0 files changed, 0 insertions, 0 deletions