summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorGerard Goossen <gerard@ggoossen.net>2011-08-16 09:22:14 +0200
committerFather Chrysostomos <sprout@cpan.org>2011-08-24 23:17:35 -0700
commit540dd7705e32a86ebc36aa94607e5814b510903d (patch)
tree41b18486ee435e6f5907cf9d9058750c72da3e32 /embed.fnc
parente92f843df4fffff9b210a84828d09e0af4499cd2 (diff)
downloadperl-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.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 2ed8f60ca1..636361bc52 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -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