summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-16 18:02:33 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-18 06:50:04 -0700
commitdeb8a388bf9e4429400eaf01ad745964d9d291d2 (patch)
treec87db314f335fc0d08b31031ac5ea892bedfa6c2 /opcode.h
parentb4d59f86ab96ed072d044892c514c6e5a96f4534 (diff)
downloadperl-deb8a388bf9e4429400eaf01ad745964d9d291d2.tar.gz
Add coreargs op
&CORE::foo subs will use this operator for sorting out @_.
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/opcode.h b/opcode.h
index 73c81dd747..0ce4140d60 100644
--- a/opcode.h
+++ b/opcode.h
@@ -517,6 +517,7 @@ EXTCONST char* const PL_op_name[] = {
"reach",
"rkeys",
"rvalues",
+ "coreargs",
};
#endif
@@ -895,6 +896,7 @@ EXTCONST char* const PL_op_desc[] = {
"each on reference",
"keys on reference",
"values on reference",
+ "CORE:: subroutine",
};
#endif
@@ -1287,6 +1289,7 @@ EXT Perl_ppaddr_t PL_ppaddr[] /* or perlvars.h */
Perl_pp_reach, /* implemented by Perl_pp_rkeys */
Perl_pp_rkeys,
Perl_pp_rvalues, /* implemented by Perl_pp_rkeys */
+ Perl_pp_coreargs,
}
#endif
#ifdef PERL_PPADDR_INITED
@@ -1676,6 +1679,7 @@ EXT Perl_check_t PL_check[] /* or perlvars.h */
Perl_ck_each, /* reach */
Perl_ck_each, /* rkeys */
Perl_ck_each, /* rvalues */
+ Perl_ck_null, /* coreargs */
}
#endif
#ifdef PERL_CHECK_INITED
@@ -2059,6 +2063,7 @@ EXTCONST U32 PL_opargs[] = {
0x00001b00, /* reach */
0x00001b08, /* rkeys */
0x00001b08, /* rvalues */
+ 0x00000600, /* coreargs */
};
#endif