summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-09-16 16:10:57 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-09-16 16:14:23 -0700
commit17058fe0299db92774e157ee0067d1b500324e4f (patch)
tree877e5f6b8a41de84bab6506a8a622721b027da6b /opcode.h
parent60092ce4854ea5801a4711d82d0e2c57a7edcaca (diff)
downloadperl-17058fe0299db92774e157ee0067d1b500324e4f.tar.gz
Merge preinc and postinc
They are almost identical. This gives the compiler less code to digest.
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/opcode.h b/opcode.h
index de1a42d8c8..ce93bf3b15 100644
--- a/opcode.h
+++ b/opcode.h
@@ -22,7 +22,8 @@
#define Perl_pp_chomp Perl_pp_chop
#define Perl_pp_schomp Perl_pp_schop
#define Perl_pp_i_preinc Perl_pp_preinc
-#define Perl_pp_i_predec Perl_pp_predec
+#define Perl_pp_predec Perl_pp_preinc
+#define Perl_pp_i_predec Perl_pp_preinc
#define Perl_pp_i_postinc Perl_pp_postinc
#define Perl_pp_i_postdec Perl_pp_postdec
#define Perl_pp_slt Perl_pp_sle
@@ -967,8 +968,8 @@ EXT Perl_ppaddr_t PL_ppaddr[] /* or perlvars.h */
Perl_pp_pos,
Perl_pp_preinc,
Perl_pp_i_preinc, /* implemented by Perl_pp_preinc */
- Perl_pp_predec,
- Perl_pp_i_predec, /* implemented by Perl_pp_predec */
+ Perl_pp_predec, /* implemented by Perl_pp_preinc */
+ Perl_pp_i_predec, /* implemented by Perl_pp_preinc */
Perl_pp_postinc,
Perl_pp_i_postinc, /* implemented by Perl_pp_postinc */
Perl_pp_postdec,