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 /proto.h | |
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 'proto.h')
-rw-r--r-- | proto.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5513,17 +5513,17 @@ STATIC const char* S_gv_ename(pTHX_ GV *gv) #define PERL_ARGS_ASSERT_GV_ENAME \ assert(gv) +STATIC void S_inplace_aassign(pTHX_ OP* o) + __attribute__nonnull__(pTHX_1); +#define PERL_ARGS_ASSERT_INPLACE_AASSIGN \ + assert(o) + STATIC bool S_is_handle_constructor(const OP *o, I32 numargs) __attribute__warn_unused_result__ __attribute__nonnull__(1); #define PERL_ARGS_ASSERT_IS_HANDLE_CONSTRUCTOR \ assert(o) -STATIC OP* S_is_inplace_av(pTHX_ OP* o, OP* oright) - __attribute__nonnull__(pTHX_1); -#define PERL_ARGS_ASSERT_IS_INPLACE_AV \ - assert(o) - STATIC I32 S_is_list_assignment(pTHX_ const OP *o) __attribute__warn_unused_result__; |