summaryrefslogtreecommitdiff
path: root/win32/config.gc
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-05 22:27:47 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-06 06:11:04 -0800
commit82e4f303e603682165d24c22d523d1ba9149cf69 (patch)
treee42cdf749adef189d0e0eb3b89ae09bff089610f /win32/config.gc
parent3a100dabd08f34372a052d4a47935f4d713fa0f9 (diff)
downloadperl-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