Change the generation of {} and [] from 3 ops to 1, and avoid 1 mortal
authorNicholas Clark <nick@ccl4.org>
Thu, 31 Aug 2006 09:05:50 +0000 (09:05 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 31 Aug 2006 09:05:50 +0000 (09:05 +0000)
commit78c72037c327e2cd8ede6cf098324435a670ca67
treea16b884a1b38e00a54fe96eb7fe890408d6abb13
parent2e0df0e80ba5355d269a0006da239be95c70765d
Change the generation of {} and [] from 3 ops to 1, and avoid 1 mortal
on the tempstack, by augmenting pp_anonlist and pp_anonhash to accept
OPf_SPECIAL to mean "return a reference to the aggregate" on the stack
rather than the aggregate itself.

p4raw-id: //depot/perl@28771
ext/B/B/Deparse.pm
ext/B/t/concise-xs.t
ext/B/t/f_map.t
ext/B/t/f_sort.t
ext/Devel/Peek/t/Peek.t
op.c
op.h
pp.c