diff options
author | Gerard Goossen <gerard@ggoossen.net> | 2011-08-16 09:22:14 +0200 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-08-24 23:17:35 -0700 |
commit | 540dd7705e32a86ebc36aa94607e5814b510903d (patch) | |
tree | 41b18486ee435e6f5907cf9d9058750c72da3e32 /embed.fnc | |
parent | e92f843df4fffff9b210a84828d09e0af4499cd2 (diff) | |
download | perl-540dd7705e32a86ebc36aa94607e5814b510903d.tar.gz |
Move making inplace sort and reverse away from the peephole optimiser to scalarvoid.
Why: The in place assignment is not just an optimisation but has
significant different behaviour and thus doesn't belong in the
peephole optimiser. Also the optree changes are unified and simpler.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -623,7 +623,7 @@ p |OP* |jmaybe |NN OP *o pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords #if defined(PERL_IN_OP_C) s |OP* |opt_scalarhv |NN OP* rep_op -s |OP* |is_inplace_av |NN OP* o|NULLOK OP* oright +s |void |inplace_aassign |NN OP* o #endif Ap |void |leave_scope |I32 base : Public lexer API |