diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-11-12 20:27:03 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-11-12 20:28:57 -0800 |
commit | ed6401c5fdd50fe275e7ed0d9af99dff6ec7c1fb (patch) | |
tree | 54cfb257c74e644b98ad62eab05d8af606d1669d /util.h | |
parent | e58dedd3f9dc62e0c353e27ed9f550f07a0def1a (diff) | |
download | perl-ed6401c5fdd50fe275e7ed0d9af99dff6ec7c1fb.tar.gz |
current_sub.t: Test sub(){__SUB__}
If the constant inlining algorithm changes, we need to make sure not
to break sub(){__SUB__} accidentally.
Sometimes __SUB__ gets optimised to a constant. Constant inlining
searches the op tree for constants. Currently we are saved by the
fact that the search happens before the peephole optimizer does the
conversion.
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions