This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
update the links to freenode
[perl5.git] / opcode.h
CommitLineData
37442d52
RGS
1/* -*- buffer-read-only: t -*-
2 *
d6376244
JH
3 * opcode.h
4 *
78102347
NC
5 * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
6 * 2002, 2003, 2004, 2005, 2006, 2007 by Larry Wall and others
d6376244
JH
7 *
8 * You may distribute under the terms of either the GNU General Public
9 * License or the Artistic License, as specified in the README file.
10 *
11 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
78102347
NC
12 * This file is built by regen/opcode.pl from its data.
13 * Any changes made here will be lost!
d6376244 14 */
a27f85b3 15
c2454cf4
KW
16#if defined(PERL_CORE) || defined(PERL_EXT)
17
9561d06f
NC
18#define Perl_pp_scalar Perl_pp_null
19#define Perl_pp_padany Perl_unimplemented_op
20#define Perl_pp_regcmaybe Perl_pp_null
bfa14884 21#define Perl_pp_transr Perl_pp_trans
9561d06f
NC
22#define Perl_pp_chomp Perl_pp_chop
23#define Perl_pp_schomp Perl_pp_schop
864dbfa3 24#define Perl_pp_i_preinc Perl_pp_preinc
4c2c3128 25#define Perl_pp_i_predec Perl_pp_predec
864dbfa3 26#define Perl_pp_i_postinc Perl_pp_postinc
20e96431 27#define Perl_pp_i_postdec Perl_pp_postdec
9561d06f
NC
28#define Perl_pp_slt Perl_pp_sle
29#define Perl_pp_sgt Perl_pp_sle
30#define Perl_pp_sge Perl_pp_sle
31#define Perl_pp_bit_xor Perl_pp_bit_or
5d01050a
FC
32#define Perl_pp_nbit_xor Perl_pp_nbit_or
33#define Perl_pp_sbit_xor Perl_pp_sbit_or
9561d06f
NC
34#define Perl_pp_cos Perl_pp_sin
35#define Perl_pp_exp Perl_pp_sin
36#define Perl_pp_log Perl_pp_sin
37#define Perl_pp_sqrt Perl_pp_sin
38#define Perl_pp_hex Perl_pp_oct
39#define Perl_pp_rindex Perl_pp_index
40#define Perl_pp_lcfirst Perl_pp_ucfirst
bfa14884 41#define Perl_pp_aelemfast_lex Perl_pp_aelemfast
9561d06f
NC
42#define Perl_pp_avalues Perl_pp_akeys
43#define Perl_pp_values Perl_do_kv
44#define Perl_pp_keys Perl_do_kv
45#define Perl_pp_rv2hv Perl_pp_rv2av
46#define Perl_pp_pop Perl_pp_shift
21b66d1c 47#define Perl_pp_mapstart Perl_pp_grepstart
9561d06f
NC
48#define Perl_pp_dor Perl_pp_defined
49#define Perl_pp_andassign Perl_pp_and
50#define Perl_pp_orassign Perl_pp_or
51#define Perl_pp_dorassign Perl_pp_defined
52#define Perl_pp_lineseq Perl_pp_null
53#define Perl_pp_scope Perl_pp_null
54#define Perl_pp_dump Perl_pp_goto
55#define Perl_pp_dbmclose Perl_pp_untie
56#define Perl_pp_read Perl_pp_sysread
57#define Perl_pp_say Perl_pp_print
9561d06f
NC
58#define Perl_pp_seek Perl_pp_sysseek
59#define Perl_pp_fcntl Perl_pp_ioctl
7627e6d0 60#ifdef HAS_SOCKET
60504e18 61#define Perl_pp_send Perl_pp_syswrite
9561d06f 62#define Perl_pp_recv Perl_pp_sysread
7627e6d0
NC
63#else
64#define Perl_pp_send Perl_unimplemented_op
65#define Perl_pp_recv Perl_unimplemented_op
66#define Perl_pp_socket Perl_unimplemented_op
67#endif
68#ifdef HAS_SOCKET
9561d06f
NC
69#define Perl_pp_connect Perl_pp_bind
70#define Perl_pp_gsockopt Perl_pp_ssockopt
71#define Perl_pp_getsockname Perl_pp_getpeername
7627e6d0
NC
72#else
73#define Perl_pp_bind Perl_unimplemented_op
74#define Perl_pp_connect Perl_unimplemented_op
75#define Perl_pp_listen Perl_unimplemented_op
76#define Perl_pp_accept Perl_unimplemented_op
77#define Perl_pp_shutdown Perl_unimplemented_op
78#define Perl_pp_gsockopt Perl_unimplemented_op
79#define Perl_pp_ssockopt Perl_unimplemented_op
80#define Perl_pp_getsockname Perl_unimplemented_op
81#define Perl_pp_getpeername Perl_unimplemented_op
82#endif
9561d06f
NC
83#define Perl_pp_lstat Perl_pp_stat
84#define Perl_pp_ftrwrite Perl_pp_ftrread
85#define Perl_pp_ftrexec Perl_pp_ftrread
86#define Perl_pp_fteread Perl_pp_ftrread
87#define Perl_pp_ftewrite Perl_pp_ftrread
88#define Perl_pp_fteexec Perl_pp_ftrread
89#define Perl_pp_ftsize Perl_pp_ftis
90#define Perl_pp_ftmtime Perl_pp_ftis
91#define Perl_pp_ftatime Perl_pp_ftis
92#define Perl_pp_ftctime Perl_pp_ftis
93#define Perl_pp_fteowned Perl_pp_ftrowned
94#define Perl_pp_ftzero Perl_pp_ftrowned
95#define Perl_pp_ftsock Perl_pp_ftrowned
96#define Perl_pp_ftchr Perl_pp_ftrowned
97#define Perl_pp_ftblk Perl_pp_ftrowned
98#define Perl_pp_ftfile Perl_pp_ftrowned
99#define Perl_pp_ftdir Perl_pp_ftrowned
100#define Perl_pp_ftpipe Perl_pp_ftrowned
101#define Perl_pp_ftsuid Perl_pp_ftrowned
102#define Perl_pp_ftsgid Perl_pp_ftrowned
103#define Perl_pp_ftsvtx Perl_pp_ftrowned
104#define Perl_pp_ftbinary Perl_pp_fttext
105#define Perl_pp_unlink Perl_pp_chown
106#define Perl_pp_chmod Perl_pp_chown
107#define Perl_pp_utime Perl_pp_chown
108#define Perl_pp_symlink Perl_pp_link
109#define Perl_pp_kill Perl_pp_chown
110#define Perl_pp_localtime Perl_pp_gmtime
111#define Perl_pp_shmget Perl_pp_semget
112#define Perl_pp_shmctl Perl_pp_semctl
113#define Perl_pp_shmread Perl_pp_shmwrite
114#define Perl_pp_msgget Perl_pp_semget
115#define Perl_pp_msgctl Perl_pp_semctl
116#define Perl_pp_msgsnd Perl_pp_shmwrite
117#define Perl_pp_msgrcv Perl_pp_shmwrite
118#define Perl_pp_semop Perl_pp_shmwrite
119#define Perl_pp_dofile Perl_pp_require
120#define Perl_pp_ghbyname Perl_pp_ghostent
121#define Perl_pp_ghbyaddr Perl_pp_ghostent
122#define Perl_pp_gnbyname Perl_pp_gnetent
123#define Perl_pp_gnbyaddr Perl_pp_gnetent
124#define Perl_pp_gpbyname Perl_pp_gprotoent
125#define Perl_pp_gpbynumber Perl_pp_gprotoent
126#define Perl_pp_gsbyname Perl_pp_gservent
127#define Perl_pp_gsbyport Perl_pp_gservent
396166e1
NC
128#define Perl_pp_snetent Perl_pp_shostent
129#define Perl_pp_sprotoent Perl_pp_shostent
130#define Perl_pp_sservent Perl_pp_shostent
d8ef1fcd
NC
131#define Perl_pp_enetent Perl_pp_ehostent
132#define Perl_pp_eprotoent Perl_pp_ehostent
133#define Perl_pp_eservent Perl_pp_ehostent
9561d06f
NC
134#define Perl_pp_gpwnam Perl_pp_gpwent
135#define Perl_pp_gpwuid Perl_pp_gpwent
720d5dbf
NC
136#define Perl_pp_spwent Perl_pp_ehostent
137#define Perl_pp_epwent Perl_pp_ehostent
9561d06f
NC
138#define Perl_pp_ggrnam Perl_pp_ggrent
139#define Perl_pp_ggrgid Perl_pp_ggrent
720d5dbf
NC
140#define Perl_pp_sgrent Perl_pp_ehostent
141#define Perl_pp_egrent Perl_pp_ehostent
9561d06f 142#define Perl_pp_custom Perl_unimplemented_op
c2454cf4
KW
143
144#endif /* End of if defined(PERL_CORE) || defined(PERL_EXT) */
145
73c4f7a1
GS
146START_EXTERN_C
147
79072805 148#ifndef DOINIT
27da23d5 149EXTCONST char* const PL_op_name[];
79072805 150#else
27da23d5 151EXTCONST char* const PL_op_name[] = {
c07a80fd
PP
152 "null",
153 "stub",
154 "scalar",
155 "pushmark",
156 "wantarray",
157 "const",
158 "gvsv",
159 "gv",
160 "gelem",
161 "padsv",
162 "padav",
163 "padhv",
164 "padany",
c07a80fd
PP
165 "rv2gv",
166 "rv2sv",
167 "av2arylen",
168 "rv2cv",
169 "anoncode",
170 "prototype",
171 "refgen",
172 "srefgen",
173 "ref",
174 "bless",
175 "backtick",
176 "glob",
177 "readline",
178 "rcatline",
179 "regcmaybe",
2cd61cdb 180 "regcreset",
c07a80fd
PP
181 "regcomp",
182 "match",
8782bef2 183 "qr",
c07a80fd
PP
184 "subst",
185 "substcont",
186 "trans",
bfa14884 187 "transr",
c07a80fd
PP
188 "sassign",
189 "aassign",
190 "chop",
191 "schop",
192 "chomp",
193 "schomp",
194 "defined",
195 "undef",
196 "study",
197 "pos",
198 "preinc",
199 "i_preinc",
200 "predec",
201 "i_predec",
202 "postinc",
203 "i_postinc",
204 "postdec",
205 "i_postdec",
206 "pow",
207 "multiply",
208 "i_multiply",
209 "divide",
210 "i_divide",
211 "modulo",
212 "i_modulo",
213 "repeat",
214 "add",
215 "i_add",
216 "subtract",
217 "i_subtract",
218 "concat",
e839e6ed 219 "multiconcat",
c07a80fd
PP
220 "stringify",
221 "left_shift",
222 "right_shift",
223 "lt",
224 "i_lt",
225 "gt",
226 "i_gt",
227 "le",
228 "i_le",
229 "ge",
230 "i_ge",
231 "eq",
232 "i_eq",
233 "ne",
234 "i_ne",
235 "ncmp",
236 "i_ncmp",
237 "slt",
238 "sgt",
239 "sle",
240 "sge",
241 "seq",
242 "sne",
243 "scmp",
244 "bit_and",
245 "bit_xor",
246 "bit_or",
5d01050a
FC
247 "nbit_and",
248 "nbit_xor",
249 "nbit_or",
250 "sbit_and",
251 "sbit_xor",
252 "sbit_or",
c07a80fd
PP
253 "negate",
254 "i_negate",
255 "not",
256 "complement",
5d01050a
FC
257 "ncomplement",
258 "scomplement",
fdecdb95 259 "smartmatch",
c07a80fd
PP
260 "atan2",
261 "sin",
262 "cos",
263 "rand",
264 "srand",
265 "exp",
266 "log",
267 "sqrt",
268 "int",
269 "hex",
270 "oct",
271 "abs",
272 "length",
273 "substr",
274 "vec",
275 "index",
276 "rindex",
277 "sprintf",
278 "formline",
279 "ord",
280 "chr",
281 "crypt",
282 "ucfirst",
283 "lcfirst",
284 "uc",
285 "lc",
286 "quotemeta",
287 "rv2av",
288 "aelemfast",
bfa14884 289 "aelemfast_lex",
c07a80fd
PP
290 "aelem",
291 "aslice",
6dd3e0f2 292 "kvaslice",
878d132a 293 "aeach",
878d132a 294 "avalues",
d88ca568 295 "akeys",
c07a80fd
PP
296 "each",
297 "values",
298 "keys",
299 "delete",
300 "exists",
301 "rv2hv",
302 "helem",
303 "hslice",
5cae3edb 304 "kvhslice",
fedf30e1 305 "multideref",
c07a80fd
PP
306 "unpack",
307 "pack",
308 "split",
309 "join",
310 "list",
311 "lslice",
312 "anonlist",
313 "anonhash",
314 "splice",
315 "push",
316 "pop",
317 "shift",
318 "unshift",
319 "sort",
320 "reverse",
321 "grepstart",
322 "grepwhile",
323 "mapstart",
324 "mapwhile",
325 "range",
326 "flip",
327 "flop",
328 "and",
329 "or",
330 "xor",
fdecdb95 331 "dor",
c07a80fd
PP
332 "cond_expr",
333 "andassign",
334 "orassign",
fdecdb95 335 "dorassign",
c07a80fd
PP
336 "entersub",
337 "leavesub",
cd06dffe 338 "leavesublv",
4fa06845
DM
339 "argcheck",
340 "argelem",
341 "argdefelem",
c07a80fd
PP
342 "caller",
343 "warn",
344 "die",
345 "reset",
346 "lineseq",
347 "nextstate",
348 "dbstate",
349 "unstack",
350 "enter",
351 "leave",
352 "scope",
353 "enteriter",
354 "iter",
355 "enterloop",
356 "leaveloop",
357 "return",
358 "last",
359 "next",
360 "redo",
361 "dump",
362 "goto",
363 "exit",
f961b1eb 364 "method",
fdecdb95 365 "method_named",
7d6c333c 366 "method_super",
810bd8b7 367 "method_redir",
368 "method_redir_super",
fdecdb95 369 "entergiven",
7896dde7
Z
370 "leavegiven",
371 "enterwhen",
372 "leavewhen",
373 "break",
fdecdb95 374 "continue",
c07a80fd
PP
375 "open",
376 "close",
377 "pipe_op",
378 "fileno",
379 "umask",
380 "binmode",
381 "tie",
382 "untie",
383 "tied",
384 "dbmopen",
385 "dbmclose",
386 "sselect",
387 "select",
388 "getc",
389 "read",
390 "enterwrite",
391 "leavewrite",
392 "prtf",
393 "print",
fdecdb95 394 "say",
c07a80fd 395 "sysopen",
137443ea 396 "sysseek",
c07a80fd
PP
397 "sysread",
398 "syswrite",
c07a80fd
PP
399 "eof",
400 "tell",
401 "seek",
402 "truncate",
403 "fcntl",
404 "ioctl",
405 "flock",
e71197e2
JC
406 "send",
407 "recv",
c07a80fd
PP
408 "socket",
409 "sockpair",
410 "bind",
411 "connect",
412 "listen",
413 "accept",
414 "shutdown",
415 "gsockopt",
416 "ssockopt",
417 "getsockname",
418 "getpeername",
419 "lstat",
420 "stat",
421 "ftrread",
422 "ftrwrite",
423 "ftrexec",
424 "fteread",
425 "ftewrite",
426 "fteexec",
427 "ftis",
c07a80fd
PP
428 "ftsize",
429 "ftmtime",
430 "ftatime",
431 "ftctime",
7834bb7e
NC
432 "ftrowned",
433 "fteowned",
434 "ftzero",
c07a80fd
PP
435 "ftsock",
436 "ftchr",
437 "ftblk",
438 "ftfile",
439 "ftdir",
440 "ftpipe",
c07a80fd
PP
441 "ftsuid",
442 "ftsgid",
443 "ftsvtx",
7834bb7e 444 "ftlink",
c07a80fd
PP
445 "fttty",
446 "fttext",
447 "ftbinary",
448 "chdir",
449 "chown",
450 "chroot",
451 "unlink",
452 "chmod",
453 "utime",
454 "rename",
455 "link",
456 "symlink",
457 "readlink",
458 "mkdir",
459 "rmdir",
460 "open_dir",
461 "readdir",
462 "telldir",
463 "seekdir",
464 "rewinddir",
465 "closedir",
466 "fork",
467 "wait",
468 "waitpid",
469 "system",
470 "exec",
471 "kill",
472 "getppid",
473 "getpgrp",
474 "setpgrp",
475 "getpriority",
476 "setpriority",
477 "time",
478 "tms",
479 "localtime",
480 "gmtime",
481 "alarm",
482 "sleep",
483 "shmget",
484 "shmctl",
485 "shmread",
486 "shmwrite",
487 "msgget",
488 "msgctl",
489 "msgsnd",
490 "msgrcv",
7834bb7e 491 "semop",
c07a80fd
PP
492 "semget",
493 "semctl",
c07a80fd
PP
494 "require",
495 "dofile",
996c9baa 496 "hintseval",
c07a80fd
PP
497 "entereval",
498 "leaveeval",
499 "entertry",
500 "leavetry",
501 "ghbyname",
502 "ghbyaddr",
503 "ghostent",
504 "gnbyname",
505 "gnbyaddr",
506 "gnetent",
507 "gpbyname",
508 "gpbynumber",
509 "gprotoent",
510 "gsbyname",
511 "gsbyport",
512 "gservent",
513 "shostent",
514 "snetent",
515 "sprotoent",
516 "sservent",
517 "ehostent",
518 "enetent",
519 "eprotoent",
520 "eservent",
521 "gpwnam",
522 "gpwuid",
523 "gpwent",
524 "spwent",
525 "epwent",
526 "ggrnam",
527 "ggrgid",
528 "ggrent",
529 "sgrent",
530 "egrent",
531 "getlogin",
532 "syscall",
c0329465 533 "lock",
c5917253 534 "once",
438c221d 535 "custom",
deb8a388 536 "coreargs",
88101882 537 "avhvswitch",
84ed0108 538 "runcv",
838f2281 539 "fc",
ac217057 540 "padcv",
ecf9c8b7 541 "introcv",
13f89586 542 "clonecv",
a7fd8ef6 543 "padrange",
254da51f 544 "refassign",
4c5bab50 545 "lvref",
16b99412 546 "lvrefslice",
2882b3ff 547 "lvavref",
b77472f9 548 "anonconst",
813e85a0 549 "isa",
02b85d3d
Z
550 "cmpchain_and",
551 "cmpchain_dup",
a33a81d0 552 "freed",
c07a80fd
PP
553};
554#endif
555
556#ifndef DOINIT
27da23d5 557EXTCONST char* const PL_op_desc[];
c07a80fd 558#else
27da23d5 559EXTCONST char* const PL_op_desc[] = {
79072805 560 "null operation",
93a17b20
LW
561 "stub",
562 "scalar",
79072805
LW
563 "pushmark",
564 "wantarray",
79072805 565 "constant item",
79072805
LW
566 "scalar variable",
567 "glob value",
c07a80fd 568 "glob elem",
93a17b20
LW
569 "private variable",
570 "private array",
571 "private hash",
f1612b5c 572 "private value",
79072805 573 "ref-to-glob cast",
b89fed5f 574 "scalar dereference",
79072805 575 "array length",
b89fed5f 576 "subroutine dereference",
a0d0e21e 577 "anonymous subroutine",
c07a80fd 578 "subroutine prototype",
8990e307 579 "reference constructor",
dfa0f641 580 "single ref constructor",
79072805
LW
581 "reference-type operator",
582 "bless",
b3f4d674 583 "quoted execution (``, qx)",
79072805
LW
584 "glob",
585 "<HANDLE>",
586 "append I/O operator",
f1612b5c
GS
587 "regexp internal guard",
588 "regexp internal reset",
79072805 589 "regexp compilation",
42d38218
MS
590 "pattern match (m//)",
591 "pattern quote (qr//)",
592 "substitution (s///)",
f1612b5c
GS
593 "substitution iterator",
594 "transliteration (tr///)",
bfa14884 595 "transliteration (tr///)",
79072805
LW
596 "scalar assignment",
597 "list assignment",
79072805 598 "chop",
a0d0e21e 599 "scalar chop",
f1612b5c
GS
600 "chomp",
601 "scalar chomp",
79072805
LW
602 "defined operator",
603 "undef operator",
604 "study",
a0d0e21e 605 "match position",
42d38218
MS
606 "preincrement (++)",
607 "integer preincrement (++)",
608 "predecrement (--)",
609 "integer predecrement (--)",
610 "postincrement (++)",
611 "integer postincrement (++)",
612 "postdecrement (--)",
613 "integer postdecrement (--)",
614 "exponentiation (**)",
615 "multiplication (*)",
616 "integer multiplication (*)",
617 "division (/)",
618 "integer division (/)",
619 "modulus (%)",
620 "integer modulus (%)",
621 "repeat (x)",
622 "addition (+)",
623 "integer addition (+)",
624 "subtraction (-)",
625 "integer subtraction (-)",
297b36dc 626 "concatenation (.) or string",
e839e6ed 627 "concatenation (.) or string",
a0d0e21e 628 "string",
42d38218
MS
629 "left bitshift (<<)",
630 "right bitshift (>>)",
631 "numeric lt (<)",
632 "integer lt (<)",
633 "numeric gt (>)",
634 "integer gt (>)",
635 "numeric le (<=)",
636 "integer le (<=)",
637 "numeric ge (>=)",
638 "integer ge (>=)",
639 "numeric eq (==)",
640 "integer eq (==)",
641 "numeric ne (!=)",
642 "integer ne (!=)",
643 "numeric comparison (<=>)",
644 "integer comparison (<=>)",
79072805
LW
645 "string lt",
646 "string gt",
647 "string le",
648 "string ge",
649 "string eq",
650 "string ne",
42d38218
MS
651 "string comparison (cmp)",
652 "bitwise and (&)",
653 "bitwise xor (^)",
654 "bitwise or (|)",
5cb51e4d 655 "numeric bitwise and (&)",
5d01050a
FC
656 "numeric bitwise xor (^)",
657 "numeric bitwise or (|)",
118a40c4
FC
658 "string bitwise and (&.)",
659 "string bitwise xor (^.)",
660 "string bitwise or (|.)",
f1612b5c
GS
661 "negation (-)",
662 "integer negation (-)",
79072805 663 "not",
42d38218 664 "1's complement (~)",
5d01050a
FC
665 "numeric 1's complement (~)",
666 "string 1's complement (~)",
fdecdb95 667 "smart match",
79072805
LW
668 "atan2",
669 "sin",
670 "cos",
671 "rand",
672 "srand",
673 "exp",
674 "log",
675 "sqrt",
676 "int",
677 "hex",
678 "oct",
463ee0b2 679 "abs",
79072805
LW
680 "length",
681 "substr",
682 "vec",
683 "index",
684 "rindex",
685 "sprintf",
686 "formline",
687 "ord",
463ee0b2 688 "chr",
79072805 689 "crypt",
42d38218
MS
690 "ucfirst",
691 "lcfirst",
692 "uc",
693 "lc",
694 "quotemeta",
f1612b5c
GS
695 "array dereference",
696 "constant array element",
bfa14884 697 "constant lexical array element",
79072805
LW
698 "array element",
699 "array slice",
6dd3e0f2 700 "index/value array slice",
878d132a 701 "each on array",
878d132a 702 "values on array",
d88ca568 703 "keys on array",
79072805
LW
704 "each",
705 "values",
706 "keys",
707 "delete",
42d38218 708 "exists",
f1612b5c
GS
709 "hash dereference",
710 "hash element",
aa689395 711 "hash slice",
5cae3edb 712 "key/value hash slice",
fedf30e1 713 "array or hash lookup",
79072805
LW
714 "unpack",
715 "pack",
716 "split",
297b36dc 717 "join or string",
79072805
LW
718 "list",
719 "list slice",
26321c2d 720 "anonymous array ([])",
42d38218 721 "anonymous hash ({})",
79072805
LW
722 "splice",
723 "push",
724 "pop",
725 "shift",
726 "unshift",
727 "sort",
728 "reverse",
729 "grep",
730 "grep iterator",
a0d0e21e
LW
731 "map",
732 "map iterator",
79072805
LW
733 "flipflop",
734 "range (or flip)",
735 "range (or flop)",
42d38218
MS
736 "logical and (&&)",
737 "logical or (||)",
a0d0e21e 738 "logical xor",
fdecdb95 739 "defined or (//)",
f1612b5c 740 "conditional expression",
42d38218
MS
741 "logical and assignment (&&=)",
742 "logical or assignment (||=)",
fdecdb95 743 "defined or assignment (//=)",
79072805
LW
744 "subroutine entry",
745 "subroutine exit",
78f9721b 746 "lvalue subroutine return",
4fa06845
DM
747 "check subroutine arguments",
748 "subroutine argument",
749 "subroutine argument default value",
79072805
LW
750 "caller",
751 "warn",
752 "die",
f1612b5c 753 "symbol reset",
79072805
LW
754 "line sequence",
755 "next statement",
93a17b20 756 "debug next statement",
e9c54c90 757 "iteration finalizer",
79072805
LW
758 "block entry",
759 "block exit",
463ee0b2 760 "block",
79072805
LW
761 "foreach loop entry",
762 "foreach loop iterator",
763 "loop entry",
764 "loop exit",
765 "return",
766 "last",
767 "next",
768 "redo",
769 "dump",
770 "goto",
771 "exit",
f961b1eb 772 "method lookup",
fdecdb95 773 "method with known name",
7d6c333c 774 "super with known name",
810bd8b7 775 "redirect method with known name",
776 "redirect super method with known name",
fdecdb95 777 "given()",
7896dde7
Z
778 "leave given block",
779 "when()",
780 "leave when block",
781 "break",
fdecdb95 782 "continue",
79072805
LW
783 "open",
784 "close",
785 "pipe",
786 "fileno",
787 "umask",
788 "binmode",
463ee0b2
LW
789 "tie",
790 "untie",
c07a80fd 791 "tied",
79072805
LW
792 "dbmopen",
793 "dbmclose",
794 "select system call",
795 "select",
796 "getc",
797 "read",
798 "write",
799 "write exit",
463ee0b2 800 "printf",
79072805 801 "print",
fdecdb95 802 "say",
c07a80fd 803 "sysopen",
137443ea 804 "sysseek",
79072805
LW
805 "sysread",
806 "syswrite",
79072805
LW
807 "eof",
808 "tell",
809 "seek",
810 "truncate",
811 "fcntl",
812 "ioctl",
813 "flock",
e71197e2
JC
814 "send",
815 "recv",
79072805
LW
816 "socket",
817 "socketpair",
818 "bind",
819 "connect",
820 "listen",
821 "accept",
822 "shutdown",
823 "getsockopt",
824 "setsockopt",
825 "getsockname",
826 "getpeername",
827 "lstat",
828 "stat",
829 "-R",
830 "-W",
831 "-X",
832 "-r",
833 "-w",
834 "-x",
835 "-e",
79072805
LW
836 "-s",
837 "-M",
838 "-A",
839 "-C",
7834bb7e
NC
840 "-O",
841 "-o",
842 "-z",
79072805
LW
843 "-S",
844 "-c",
845 "-b",
846 "-f",
847 "-d",
848 "-p",
79072805
LW
849 "-u",
850 "-g",
851 "-k",
7834bb7e 852 "-l",
79072805
LW
853 "-t",
854 "-T",
855 "-B",
856 "chdir",
857 "chown",
858 "chroot",
859 "unlink",
860 "chmod",
861 "utime",
862 "rename",
863 "link",
864 "symlink",
865 "readlink",
866 "mkdir",
867 "rmdir",
868 "opendir",
869 "readdir",
870 "telldir",
871 "seekdir",
872 "rewinddir",
873 "closedir",
874 "fork",
875 "wait",
876 "waitpid",
877 "system",
878 "exec",
879 "kill",
880 "getppid",
881 "getpgrp",
882 "setpgrp",
883 "getpriority",
884 "setpriority",
885 "time",
886 "times",
887 "localtime",
888 "gmtime",
889 "alarm",
890 "sleep",
891 "shmget",
892 "shmctl",
893 "shmread",
894 "shmwrite",
895 "msgget",
896 "msgctl",
897 "msgsnd",
898 "msgrcv",
7834bb7e 899 "semop",
79072805
LW
900 "semget",
901 "semctl",
79072805 902 "require",
b3f4d674 903 "do \"file\"",
996c9baa 904 "eval hints",
b3f4d674
GS
905 "eval \"string\"",
906 "eval \"string\" exit",
42d38218 907 "eval {block}",
f1612b5c 908 "eval {block} exit",
79072805
LW
909 "gethostbyname",
910 "gethostbyaddr",
911 "gethostent",
912 "getnetbyname",
913 "getnetbyaddr",
914 "getnetent",
915 "getprotobyname",
916 "getprotobynumber",
917 "getprotoent",
918 "getservbyname",
919 "getservbyport",
920 "getservent",
921 "sethostent",
922 "setnetent",
923 "setprotoent",
924 "setservent",
925 "endhostent",
926 "endnetent",
927 "endprotoent",
928 "endservent",
929 "getpwnam",
930 "getpwuid",
931 "getpwent",
932 "setpwent",
933 "endpwent",
934 "getgrnam",
935 "getgrgid",
936 "getgrent",
937 "setgrent",
938 "endgrent",
939 "getlogin",
940 "syscall",
c0329465 941 "lock",
c5917253 942 "once",
438c221d 943 "unknown custom operator",
deb8a388 944 "CORE:: subroutine",
88101882 945 "Array/hash switch",
84ed0108 946 "__SUB__",
838f2281 947 "fc",
ac217057 948 "private subroutine",
ecf9c8b7 949 "private subroutine",
13f89586 950 "private subroutine",
a7fd8ef6 951 "list of private variables",
254da51f 952 "lvalue ref assignment",
4c5bab50 953 "lvalue ref assignment",
16b99412 954 "lvalue ref assignment",
2882b3ff 955 "lvalue array reference",
b77472f9 956 "anonymous constant",
813e85a0 957 "derived class test",
02b85d3d
Z
958 "comparison chaining",
959 "comparand shuffling",
a33a81d0 960 "freed op",
79072805
LW
961};
962#endif
963
73c4f7a1
GS
964END_EXTERN_C
965
73c4f7a1
GS
966START_EXTERN_C
967
27da23d5 968EXT Perl_ppaddr_t PL_ppaddr[] /* or perlvars.h */
8c3a0f6c 969#if defined(DOINIT)
27da23d5 970= {
ef69c8fc
BM
971 Perl_pp_null,
972 Perl_pp_stub,
6f3ed336 973 Perl_pp_scalar, /* implemented by Perl_pp_null */
ef69c8fc
BM
974 Perl_pp_pushmark,
975 Perl_pp_wantarray,
976 Perl_pp_const,
977 Perl_pp_gvsv,
978 Perl_pp_gv,
979 Perl_pp_gelem,
980 Perl_pp_padsv,
981 Perl_pp_padav,
982 Perl_pp_padhv,
6f3ed336 983 Perl_pp_padany, /* implemented by Perl_unimplemented_op */
ef69c8fc
BM
984 Perl_pp_rv2gv,
985 Perl_pp_rv2sv,
986 Perl_pp_av2arylen,
987 Perl_pp_rv2cv,
988 Perl_pp_anoncode,
989 Perl_pp_prototype,
990 Perl_pp_refgen,
991 Perl_pp_srefgen,
992 Perl_pp_ref,
993 Perl_pp_bless,
994 Perl_pp_backtick,
995 Perl_pp_glob,
996 Perl_pp_readline,
997 Perl_pp_rcatline,
6f3ed336 998 Perl_pp_regcmaybe, /* implemented by Perl_pp_null */
ef69c8fc
BM
999 Perl_pp_regcreset,
1000 Perl_pp_regcomp,
1001 Perl_pp_match,
1002 Perl_pp_qr,
1003 Perl_pp_subst,
1004 Perl_pp_substcont,
9561d06f 1005 Perl_pp_trans,
bfa14884 1006 Perl_pp_transr, /* implemented by Perl_pp_trans */
ef69c8fc
BM
1007 Perl_pp_sassign,
1008 Perl_pp_aassign,
9561d06f
NC
1009 Perl_pp_chop,
1010 Perl_pp_schop,
6f3ed336
NC
1011 Perl_pp_chomp, /* implemented by Perl_pp_chop */
1012 Perl_pp_schomp, /* implemented by Perl_pp_schop */
ef69c8fc
BM
1013 Perl_pp_defined,
1014 Perl_pp_undef,
1015 Perl_pp_study,
1016 Perl_pp_pos,
1017 Perl_pp_preinc,
6f3ed336 1018 Perl_pp_i_preinc, /* implemented by Perl_pp_preinc */
4c2c3128
DM
1019 Perl_pp_predec,
1020 Perl_pp_i_predec, /* implemented by Perl_pp_predec */
ef69c8fc 1021 Perl_pp_postinc,
6f3ed336 1022 Perl_pp_i_postinc, /* implemented by Perl_pp_postinc */
20e96431
DM
1023 Perl_pp_postdec,
1024 Perl_pp_i_postdec, /* implemented by Perl_pp_postdec */
ef69c8fc
BM
1025 Perl_pp_pow,
1026 Perl_pp_multiply,
1027 Perl_pp_i_multiply,
1028 Perl_pp_divide,
1029 Perl_pp_i_divide,
1030 Perl_pp_modulo,
1031 Perl_pp_i_modulo,
1032 Perl_pp_repeat,
1033 Perl_pp_add,
1034 Perl_pp_i_add,
1035 Perl_pp_subtract,
1036 Perl_pp_i_subtract,
1037 Perl_pp_concat,
e839e6ed 1038 Perl_pp_multiconcat,
ef69c8fc
BM
1039 Perl_pp_stringify,
1040 Perl_pp_left_shift,
1041 Perl_pp_right_shift,
1042 Perl_pp_lt,
1043 Perl_pp_i_lt,
1044 Perl_pp_gt,
1045 Perl_pp_i_gt,
1046 Perl_pp_le,
1047 Perl_pp_i_le,
1048 Perl_pp_ge,
1049 Perl_pp_i_ge,
1050 Perl_pp_eq,
1051 Perl_pp_i_eq,
1052 Perl_pp_ne,
1053 Perl_pp_i_ne,
1054 Perl_pp_ncmp,
1055 Perl_pp_i_ncmp,
6f3ed336
NC
1056 Perl_pp_slt, /* implemented by Perl_pp_sle */
1057 Perl_pp_sgt, /* implemented by Perl_pp_sle */
ef69c8fc 1058 Perl_pp_sle,
6f3ed336 1059 Perl_pp_sge, /* implemented by Perl_pp_sle */
ef69c8fc
BM
1060 Perl_pp_seq,
1061 Perl_pp_sne,
1062 Perl_pp_scmp,
1063 Perl_pp_bit_and,
6f3ed336 1064 Perl_pp_bit_xor, /* implemented by Perl_pp_bit_or */
ef69c8fc 1065 Perl_pp_bit_or,
5d01050a
FC
1066 Perl_pp_nbit_and,
1067 Perl_pp_nbit_xor, /* implemented by Perl_pp_nbit_or */
1068 Perl_pp_nbit_or,
1069 Perl_pp_sbit_and,
1070 Perl_pp_sbit_xor, /* implemented by Perl_pp_sbit_or */
1071 Perl_pp_sbit_or,
ef69c8fc
BM
1072 Perl_pp_negate,
1073 Perl_pp_i_negate,
1074 Perl_pp_not,
1075 Perl_pp_complement,
5d01050a
FC
1076 Perl_pp_ncomplement,
1077 Perl_pp_scomplement,
ef69c8fc
BM
1078 Perl_pp_smartmatch,
1079 Perl_pp_atan2,
1080 Perl_pp_sin,
6f3ed336 1081 Perl_pp_cos, /* implemented by Perl_pp_sin */
ef69c8fc
BM
1082 Perl_pp_rand,
1083 Perl_pp_srand,
6f3ed336
NC
1084 Perl_pp_exp, /* implemented by Perl_pp_sin */
1085 Perl_pp_log, /* implemented by Perl_pp_sin */
1086 Perl_pp_sqrt, /* implemented by Perl_pp_sin */
ef69c8fc 1087 Perl_pp_int,
6f3ed336 1088 Perl_pp_hex, /* implemented by Perl_pp_oct */
ef69c8fc
BM
1089 Perl_pp_oct,
1090 Perl_pp_abs,
1091 Perl_pp_length,
1092 Perl_pp_substr,
1093 Perl_pp_vec,
1094 Perl_pp_index,
6f3ed336 1095 Perl_pp_rindex, /* implemented by Perl_pp_index */
ef69c8fc
BM
1096 Perl_pp_sprintf,
1097 Perl_pp_formline,
1098 Perl_pp_ord,
1099 Perl_pp_chr,
1100 Perl_pp_crypt,
1101 Perl_pp_ucfirst,
6f3ed336 1102 Perl_pp_lcfirst, /* implemented by Perl_pp_ucfirst */
ef69c8fc
BM
1103 Perl_pp_uc,
1104 Perl_pp_lc,
1105 Perl_pp_quotemeta,
1106 Perl_pp_rv2av,
1107 Perl_pp_aelemfast,
bfa14884 1108 Perl_pp_aelemfast_lex, /* implemented by Perl_pp_aelemfast */
ef69c8fc
BM
1109 Perl_pp_aelem,
1110 Perl_pp_aslice,
6dd3e0f2 1111 Perl_pp_kvaslice,
ef69c8fc 1112 Perl_pp_aeach,
6f3ed336 1113 Perl_pp_avalues, /* implemented by Perl_pp_akeys */
d88ca568 1114 Perl_pp_akeys,
ef69c8fc 1115 Perl_pp_each,
6f3ed336
NC
1116 Perl_pp_values, /* implemented by Perl_do_kv */
1117 Perl_pp_keys, /* implemented by Perl_do_kv */
ef69c8fc
BM
1118 Perl_pp_delete,
1119 Perl_pp_exists,
6f3ed336 1120 Perl_pp_rv2hv, /* implemented by Perl_pp_rv2av */
ef69c8fc
BM
1121 Perl_pp_helem,
1122 Perl_pp_hslice,
5cae3edb 1123 Perl_pp_kvhslice,
fedf30e1 1124 Perl_pp_multideref,
ef69c8fc
BM
1125 Perl_pp_unpack,
1126 Perl_pp_pack,
1127 Perl_pp_split,
1128 Perl_pp_join,
1129 Perl_pp_list,
1130 Perl_pp_lslice,
1131 Perl_pp_anonlist,
1132 Perl_pp_anonhash,
1133 Perl_pp_splice,
1134 Perl_pp_push,
6f3ed336 1135 Perl_pp_pop, /* implemented by Perl_pp_shift */
ef69c8fc
BM
1136 Perl_pp_shift,
1137 Perl_pp_unshift,
1138 Perl_pp_sort,
1139 Perl_pp_reverse,
1140 Perl_pp_grepstart,
1141 Perl_pp_grepwhile,
21b66d1c 1142 Perl_pp_mapstart, /* implemented by Perl_pp_grepstart */
ef69c8fc
BM
1143 Perl_pp_mapwhile,
1144 Perl_pp_range,
1145 Perl_pp_flip,
1146 Perl_pp_flop,
1147 Perl_pp_and,
1148 Perl_pp_or,
1149 Perl_pp_xor,
6f3ed336 1150 Perl_pp_dor, /* implemented by Perl_pp_defined */
ef69c8fc 1151 Perl_pp_cond_expr,
6f3ed336
NC
1152 Perl_pp_andassign, /* implemented by Perl_pp_and */
1153 Perl_pp_orassign, /* implemented by Perl_pp_or */
1154 Perl_pp_dorassign, /* implemented by Perl_pp_defined */
ef69c8fc
BM
1155 Perl_pp_entersub,
1156 Perl_pp_leavesub,
1157 Perl_pp_leavesublv,
4fa06845
DM
1158 Perl_pp_argcheck,
1159 Perl_pp_argelem,
1160 Perl_pp_argdefelem,
ef69c8fc
BM
1161 Perl_pp_caller,
1162 Perl_pp_warn,
1163 Perl_pp_die,
1164 Perl_pp_reset,
6f3ed336 1165 Perl_pp_lineseq, /* implemented by Perl_pp_null */
ef69c8fc
BM
1166 Perl_pp_nextstate,
1167 Perl_pp_dbstate,
1168 Perl_pp_unstack,
1169 Perl_pp_enter,
1170 Perl_pp_leave,
6f3ed336 1171 Perl_pp_scope, /* implemented by Perl_pp_null */
ef69c8fc
BM
1172 Perl_pp_enteriter,
1173 Perl_pp_iter,
1174 Perl_pp_enterloop,
1175 Perl_pp_leaveloop,
1176 Perl_pp_return,
1177 Perl_pp_last,
1178 Perl_pp_next,
1179 Perl_pp_redo,
6f3ed336 1180 Perl_pp_dump, /* implemented by Perl_pp_goto */
ef69c8fc
BM
1181 Perl_pp_goto,
1182 Perl_pp_exit,
f961b1eb 1183 Perl_pp_method,
ef69c8fc 1184 Perl_pp_method_named,
7d6c333c 1185 Perl_pp_method_super,
810bd8b7 1186 Perl_pp_method_redir,
1187 Perl_pp_method_redir_super,
ef69c8fc 1188 Perl_pp_entergiven,
7896dde7
Z
1189 Perl_pp_leavegiven,
1190 Perl_pp_enterwhen,
1191 Perl_pp_leavewhen,
1192 Perl_pp_break,
ef69c8fc
BM
1193 Perl_pp_continue,
1194 Perl_pp_open,
1195 Perl_pp_close,
1196 Perl_pp_pipe_op,
1197 Perl_pp_fileno,
1198 Perl_pp_umask,
1199 Perl_pp_binmode,
1200 Perl_pp_tie,
1201 Perl_pp_untie,
1202 Perl_pp_tied,
1203 Perl_pp_dbmopen,
6f3ed336 1204 Perl_pp_dbmclose, /* implemented by Perl_pp_untie */
ef69c8fc
BM
1205 Perl_pp_sselect,
1206 Perl_pp_select,
1207 Perl_pp_getc,
6f3ed336 1208 Perl_pp_read, /* implemented by Perl_pp_sysread */
ef69c8fc
BM
1209 Perl_pp_enterwrite,
1210 Perl_pp_leavewrite,
1211 Perl_pp_prtf,
1212 Perl_pp_print,
6f3ed336 1213 Perl_pp_say, /* implemented by Perl_pp_print */
ef69c8fc
BM
1214 Perl_pp_sysopen,
1215 Perl_pp_sysseek,
1216 Perl_pp_sysread,
60504e18 1217 Perl_pp_syswrite,
ef69c8fc
BM
1218 Perl_pp_eof,
1219 Perl_pp_tell,
6f3ed336 1220 Perl_pp_seek, /* implemented by Perl_pp_sysseek */
ef69c8fc 1221 Perl_pp_truncate,
6f3ed336 1222 Perl_pp_fcntl, /* implemented by Perl_pp_ioctl */
ef69c8fc
BM
1223 Perl_pp_ioctl,
1224 Perl_pp_flock,
60504e18 1225 Perl_pp_send, /* implemented by Perl_pp_syswrite */
6f3ed336 1226 Perl_pp_recv, /* implemented by Perl_pp_sysread */
ef69c8fc
BM
1227 Perl_pp_socket,
1228 Perl_pp_sockpair,
1229 Perl_pp_bind,
6f3ed336 1230 Perl_pp_connect, /* implemented by Perl_pp_bind */
ef69c8fc
BM
1231 Perl_pp_listen,
1232 Perl_pp_accept,
1233 Perl_pp_shutdown,
6f3ed336 1234 Perl_pp_gsockopt, /* implemented by Perl_pp_ssockopt */
ef69c8fc 1235 Perl_pp_ssockopt,
6f3ed336 1236 Perl_pp_getsockname, /* implemented by Perl_pp_getpeername */
ef69c8fc 1237 Perl_pp_getpeername,
6f3ed336 1238 Perl_pp_lstat, /* implemented by Perl_pp_stat */
ef69c8fc
BM
1239 Perl_pp_stat,
1240 Perl_pp_ftrread,
6f3ed336
NC
1241 Perl_pp_ftrwrite, /* implemented by Perl_pp_ftrread */
1242 Perl_pp_ftrexec, /* implemented by Perl_pp_ftrread */
1243 Perl_pp_fteread, /* implemented by Perl_pp_ftrread */
1244 Perl_pp_ftewrite, /* implemented by Perl_pp_ftrread */
1245 Perl_pp_fteexec, /* implemented by Perl_pp_ftrread */
ef69c8fc 1246 Perl_pp_ftis,
6f3ed336
NC
1247 Perl_pp_ftsize, /* implemented by Perl_pp_ftis */
1248 Perl_pp_ftmtime, /* implemented by Perl_pp_ftis */
1249 Perl_pp_ftatime, /* implemented by Perl_pp_ftis */
1250 Perl_pp_ftctime, /* implemented by Perl_pp_ftis */
ef69c8fc 1251 Perl_pp_ftrowned,
6f3ed336
NC
1252 Perl_pp_fteowned, /* implemented by Perl_pp_ftrowned */
1253 Perl_pp_ftzero, /* implemented by Perl_pp_ftrowned */
1254 Perl_pp_ftsock, /* implemented by Perl_pp_ftrowned */
1255 Perl_pp_ftchr, /* implemented by Perl_pp_ftrowned */
1256 Perl_pp_ftblk, /* implemented by Perl_pp_ftrowned */
1257 Perl_pp_ftfile, /* implemented by Perl_pp_ftrowned */
1258 Perl_pp_ftdir, /* implemented by Perl_pp_ftrowned */
1259 Perl_pp_ftpipe, /* implemented by Perl_pp_ftrowned */
1260 Perl_pp_ftsuid, /* implemented by Perl_pp_ftrowned */
1261 Perl_pp_ftsgid, /* implemented by Perl_pp_ftrowned */
1262 Perl_pp_ftsvtx, /* implemented by Perl_pp_ftrowned */
ef69c8fc
BM
1263 Perl_pp_ftlink,
1264 Perl_pp_fttty,
1265 Perl_pp_fttext,
6f3ed336 1266 Perl_pp_ftbinary, /* implemented by Perl_pp_fttext */
ef69c8fc
BM
1267 Perl_pp_chdir,
1268 Perl_pp_chown,
1269 Perl_pp_chroot,
6f3ed336
NC
1270 Perl_pp_unlink, /* implemented by Perl_pp_chown */
1271 Perl_pp_chmod, /* implemented by Perl_pp_chown */
1272 Perl_pp_utime, /* implemented by Perl_pp_chown */
ef69c8fc
BM
1273 Perl_pp_rename,
1274 Perl_pp_link,
6f3ed336 1275 Perl_pp_symlink, /* implemented by Perl_pp_link */
ef69c8fc
BM
1276 Perl_pp_readlink,
1277 Perl_pp_mkdir,
1278 Perl_pp_rmdir,
1279 Perl_pp_open_dir,
1280 Perl_pp_readdir,
1281 Perl_pp_telldir,
1282 Perl_pp_seekdir,
1283 Perl_pp_rewinddir,
1284 Perl_pp_closedir,
1285 Perl_pp_fork,
1286 Perl_pp_wait,
1287 Perl_pp_waitpid,
1288 Perl_pp_system,
1289 Perl_pp_exec,
6f3ed336 1290 Perl_pp_kill, /* implemented by Perl_pp_chown */
ef69c8fc
BM
1291 Perl_pp_getppid,
1292 Perl_pp_getpgrp,
1293 Perl_pp_setpgrp,
1294 Perl_pp_getpriority,
1295 Perl_pp_setpriority,
1296 Perl_pp_time,
1297 Perl_pp_tms,
6f3ed336 1298 Perl_pp_localtime, /* implemented by Perl_pp_gmtime */
ef69c8fc
BM
1299 Perl_pp_gmtime,
1300 Perl_pp_alarm,
1301 Perl_pp_sleep,
6f3ed336
NC
1302 Perl_pp_shmget, /* implemented by Perl_pp_semget */
1303 Perl_pp_shmctl, /* implemented by Perl_pp_semctl */
1304 Perl_pp_shmread, /* implemented by Perl_pp_shmwrite */
ef69c8fc 1305 Perl_pp_shmwrite,
6f3ed336
NC
1306 Perl_pp_msgget, /* implemented by Perl_pp_semget */
1307 Perl_pp_msgctl, /* implemented by Perl_pp_semctl */
1308 Perl_pp_msgsnd, /* implemented by Perl_pp_shmwrite */
1309 Perl_pp_msgrcv, /* implemented by Perl_pp_shmwrite */
1310 Perl_pp_semop, /* implemented by Perl_pp_shmwrite */
ef69c8fc
BM
1311 Perl_pp_semget,
1312 Perl_pp_semctl,
1313 Perl_pp_require,
6f3ed336 1314 Perl_pp_dofile, /* implemented by Perl_pp_require */
ef69c8fc
BM
1315 Perl_pp_hintseval,
1316 Perl_pp_entereval,
1317 Perl_pp_leaveeval,
1318 Perl_pp_entertry,
1319 Perl_pp_leavetry,
6f3ed336
NC
1320 Perl_pp_ghbyname, /* implemented by Perl_pp_ghostent */
1321 Perl_pp_ghbyaddr, /* implemented by Perl_pp_ghostent */
ef69c8fc 1322 Perl_pp_ghostent,
6f3ed336
NC
1323 Perl_pp_gnbyname, /* implemented by Perl_pp_gnetent */
1324 Perl_pp_gnbyaddr, /* implemented by Perl_pp_gnetent */
ef69c8fc 1325 Perl_pp_gnetent,
6f3ed336
NC
1326 Perl_pp_gpbyname, /* implemented by Perl_pp_gprotoent */
1327 Perl_pp_gpbynumber, /* implemented by Perl_pp_gprotoent */
ef69c8fc 1328 Perl_pp_gprotoent,
6f3ed336
NC
1329 Perl_pp_gsbyname, /* implemented by Perl_pp_gservent */
1330 Perl_pp_gsbyport, /* implemented by Perl_pp_gservent */
ef69c8fc
BM
1331 Perl_pp_gservent,
1332 Perl_pp_shostent,
396166e1
NC
1333 Perl_pp_snetent, /* implemented by Perl_pp_shostent */
1334 Perl_pp_sprotoent, /* implemented by Perl_pp_shostent */
1335 Perl_pp_sservent, /* implemented by Perl_pp_shostent */
ef69c8fc 1336 Perl_pp_ehostent,
d8ef1fcd
NC
1337 Perl_pp_enetent, /* implemented by Perl_pp_ehostent */
1338 Perl_pp_eprotoent, /* implemented by Perl_pp_ehostent */
1339 Perl_pp_eservent, /* implemented by Perl_pp_ehostent */
6f3ed336
NC
1340 Perl_pp_gpwnam, /* implemented by Perl_pp_gpwent */
1341 Perl_pp_gpwuid, /* implemented by Perl_pp_gpwent */
ef69c8fc 1342 Perl_pp_gpwent,
720d5dbf
NC
1343 Perl_pp_spwent, /* implemented by Perl_pp_ehostent */
1344 Perl_pp_epwent, /* implemented by Perl_pp_ehostent */
6f3ed336
NC
1345 Perl_pp_ggrnam, /* implemented by Perl_pp_ggrent */
1346 Perl_pp_ggrgid, /* implemented by Perl_pp_ggrent */
ef69c8fc 1347 Perl_pp_ggrent,
720d5dbf
NC
1348 Perl_pp_sgrent, /* implemented by Perl_pp_ehostent */
1349 Perl_pp_egrent, /* implemented by Perl_pp_ehostent */
ef69c8fc
BM
1350 Perl_pp_getlogin,
1351 Perl_pp_syscall,
1352 Perl_pp_lock,
1353 Perl_pp_once,
6f3ed336 1354 Perl_pp_custom, /* implemented by Perl_unimplemented_op */
deb8a388 1355 Perl_pp_coreargs,
88101882 1356 Perl_pp_avhvswitch,
84ed0108 1357 Perl_pp_runcv,
838f2281 1358 Perl_pp_fc,
ac217057 1359 Perl_pp_padcv,
ecf9c8b7 1360 Perl_pp_introcv,
13f89586 1361 Perl_pp_clonecv,
a7fd8ef6 1362 Perl_pp_padrange,
254da51f 1363 Perl_pp_refassign,
4c5bab50 1364 Perl_pp_lvref,
16b99412 1365 Perl_pp_lvrefslice,
2882b3ff 1366 Perl_pp_lvavref,
b77472f9 1367 Perl_pp_anonconst,
813e85a0 1368 Perl_pp_isa,
02b85d3d
Z
1369 Perl_pp_cmpchain_and,
1370 Perl_pp_cmpchain_dup,
27da23d5 1371}
79072805 1372#endif
27da23d5 1373;
79072805 1374
0850138d 1375EXT Perl_check_t PL_check[] /* or perlvars.h */
8c3a0f6c 1376#if defined(DOINIT)
27da23d5 1377= {
ef69c8fc
BM
1378 Perl_ck_null, /* null */
1379 Perl_ck_null, /* stub */
1380 Perl_ck_fun, /* scalar */
1381 Perl_ck_null, /* pushmark */
1382 Perl_ck_null, /* wantarray */
1383 Perl_ck_svconst, /* const */
1384 Perl_ck_null, /* gvsv */
1385 Perl_ck_null, /* gv */
1386 Perl_ck_null, /* gelem */
1387 Perl_ck_null, /* padsv */
1388 Perl_ck_null, /* padav */
1389 Perl_ck_null, /* padhv */
1390 Perl_ck_null, /* padany */
ef69c8fc
BM
1391 Perl_ck_rvconst, /* rv2gv */
1392 Perl_ck_rvconst, /* rv2sv */
1393 Perl_ck_null, /* av2arylen */
1394 Perl_ck_rvconst, /* rv2cv */
1395 Perl_ck_anoncode, /* anoncode */
eb4ec35b 1396 Perl_ck_prototype, /* prototype */
ef69c8fc
BM
1397 Perl_ck_spair, /* refgen */
1398 Perl_ck_null, /* srefgen */
1399 Perl_ck_fun, /* ref */
1400 Perl_ck_fun, /* bless */
9ce1fb7d 1401 Perl_ck_backtick, /* backtick */
ef69c8fc
BM
1402 Perl_ck_glob, /* glob */
1403 Perl_ck_readline, /* readline */
1404 Perl_ck_null, /* rcatline */
1405 Perl_ck_fun, /* regcmaybe */
1406 Perl_ck_fun, /* regcreset */
1407 Perl_ck_null, /* regcomp */
1408 Perl_ck_match, /* match */
1409 Perl_ck_match, /* qr */
1410 Perl_ck_match, /* subst */
1411 Perl_ck_null, /* substcont */
1412 Perl_ck_match, /* trans */
bfa14884 1413 Perl_ck_match, /* transr */
ef69c8fc
BM
1414 Perl_ck_sassign, /* sassign */
1415 Perl_ck_null, /* aassign */
1416 Perl_ck_spair, /* chop */
1417 Perl_ck_null, /* schop */
1418 Perl_ck_spair, /* chomp */
1419 Perl_ck_null, /* schomp */
1420 Perl_ck_defined, /* defined */
89c5c07e 1421 Perl_ck_fun, /* undef */
ef69c8fc 1422 Perl_ck_fun, /* study */
abe56f58 1423 Perl_ck_fun, /* pos */
ef69c8fc
BM
1424 Perl_ck_lfun, /* preinc */
1425 Perl_ck_lfun, /* i_preinc */
1426 Perl_ck_lfun, /* predec */
1427 Perl_ck_lfun, /* i_predec */
1428 Perl_ck_lfun, /* postinc */
1429 Perl_ck_lfun, /* i_postinc */
1430 Perl_ck_lfun, /* postdec */
1431 Perl_ck_lfun, /* i_postdec */
1432 Perl_ck_null, /* pow */
1433 Perl_ck_null, /* multiply */
1434 Perl_ck_null, /* i_multiply */
1435 Perl_ck_null, /* divide */
1436 Perl_ck_null, /* i_divide */
1437 Perl_ck_null, /* modulo */
1438 Perl_ck_null, /* i_modulo */
1439 Perl_ck_repeat, /* repeat */
1440 Perl_ck_null, /* add */
1441 Perl_ck_null, /* i_add */
1442 Perl_ck_null, /* subtract */
1443 Perl_ck_null, /* i_subtract */
1444 Perl_ck_concat, /* concat */
e839e6ed 1445 Perl_ck_null, /* multiconcat */
73f4c4fe 1446 Perl_ck_stringify, /* stringify */
ef69c8fc
BM
1447 Perl_ck_bitop, /* left_shift */
1448 Perl_ck_bitop, /* right_shift */
89474f50
FC
1449 Perl_ck_cmp, /* lt */
1450 Perl_ck_cmp, /* i_lt */
1451 Perl_ck_cmp, /* gt */
1452 Perl_ck_cmp, /* i_gt */
1453 Perl_ck_cmp, /* le */
1454 Perl_ck_cmp, /* i_le */
1455 Perl_ck_cmp, /* ge */
1456 Perl_ck_cmp, /* i_ge */
ce5a07d9
DM
1457 Perl_ck_cmp, /* eq */
1458 Perl_ck_cmp, /* i_eq */
1459 Perl_ck_cmp, /* ne */
1460 Perl_ck_cmp, /* i_ne */
ef69c8fc
BM
1461 Perl_ck_null, /* ncmp */
1462 Perl_ck_null, /* i_ncmp */
1463 Perl_ck_null, /* slt */
1464 Perl_ck_null, /* sgt */
1465 Perl_ck_null, /* sle */
1466 Perl_ck_null, /* sge */
1467 Perl_ck_null, /* seq */
1468 Perl_ck_null, /* sne */
1469 Perl_ck_null, /* scmp */
1470 Perl_ck_bitop, /* bit_and */
1471 Perl_ck_bitop, /* bit_xor */
1472 Perl_ck_bitop, /* bit_or */
5d01050a
FC
1473 Perl_ck_bitop, /* nbit_and */
1474 Perl_ck_bitop, /* nbit_xor */
1475 Perl_ck_bitop, /* nbit_or */
1476 Perl_ck_bitop, /* sbit_and */
1477 Perl_ck_bitop, /* sbit_xor */
1478 Perl_ck_bitop, /* sbit_or */
ef69c8fc
BM
1479 Perl_ck_null, /* negate */
1480 Perl_ck_null, /* i_negate */
1481 Perl_ck_null, /* not */
1482 Perl_ck_bitop, /* complement */
5d01050a 1483 Perl_ck_bitop, /* ncomplement */
90a59ee5 1484 Perl_ck_null, /* scomplement */
7896dde7 1485 Perl_ck_smartmatch, /* smartmatch */
ef69c8fc
BM
1486 Perl_ck_fun, /* atan2 */
1487 Perl_ck_fun, /* sin */
1488 Perl_ck_fun, /* cos */
1489 Perl_ck_fun, /* rand */
1490 Perl_ck_fun, /* srand */
1491 Perl_ck_fun, /* exp */
1492 Perl_ck_fun, /* log */
1493 Perl_ck_fun, /* sqrt */
1494 Perl_ck_fun, /* int */
1495 Perl_ck_fun, /* hex */
1496 Perl_ck_fun, /* oct */
1497 Perl_ck_fun, /* abs */
e508c8a4 1498 Perl_ck_length, /* length */
ef69c8fc
BM
1499 Perl_ck_substr, /* substr */
1500 Perl_ck_fun, /* vec */
1501 Perl_ck_index, /* index */
1502 Perl_ck_index, /* rindex */
69974ce6 1503 Perl_ck_lfun, /* sprintf */
ef69c8fc
BM
1504 Perl_ck_fun, /* formline */
1505 Perl_ck_fun, /* ord */
1506 Perl_ck_fun, /* chr */
1507 Perl_ck_fun, /* crypt */
1508 Perl_ck_fun, /* ucfirst */
1509 Perl_ck_fun, /* lcfirst */
1510 Perl_ck_fun, /* uc */
1511 Perl_ck_fun, /* lc */
1512 Perl_ck_fun, /* quotemeta */
1513 Perl_ck_rvconst, /* rv2av */
1514 Perl_ck_null, /* aelemfast */
bfa14884 1515 Perl_ck_null, /* aelemfast_lex */
ef69c8fc
BM
1516 Perl_ck_null, /* aelem */
1517 Perl_ck_null, /* aslice */
6dd3e0f2 1518 Perl_ck_null, /* kvaslice */
ef69c8fc 1519 Perl_ck_each, /* aeach */
ef69c8fc 1520 Perl_ck_each, /* avalues */
d88ca568 1521 Perl_ck_each, /* akeys */
ef69c8fc
BM
1522 Perl_ck_each, /* each */
1523 Perl_ck_each, /* values */
1524 Perl_ck_each, /* keys */
1525 Perl_ck_delete, /* delete */
1526 Perl_ck_exists, /* exists */
1527 Perl_ck_rvconst, /* rv2hv */
1528 Perl_ck_null, /* helem */
1529 Perl_ck_null, /* hslice */
5cae3edb 1530 Perl_ck_null, /* kvhslice */
fedf30e1 1531 Perl_ck_null, /* multideref */
ea5703f4 1532 Perl_ck_fun, /* unpack */
ef69c8fc
BM
1533 Perl_ck_fun, /* pack */
1534 Perl_ck_split, /* split */
1535 Perl_ck_join, /* join */
1536 Perl_ck_null, /* list */
1537 Perl_ck_null, /* lslice */
1538 Perl_ck_fun, /* anonlist */
1539 Perl_ck_fun, /* anonhash */
d4fc4415
FC
1540 Perl_ck_fun, /* splice */
1541 Perl_ck_fun, /* push */
ef69c8fc
BM
1542 Perl_ck_shift, /* pop */
1543 Perl_ck_shift, /* shift */
d4fc4415 1544 Perl_ck_fun, /* unshift */
ef69c8fc
BM
1545 Perl_ck_sort, /* sort */
1546 Perl_ck_fun, /* reverse */
1547 Perl_ck_grep, /* grepstart */
1548 Perl_ck_null, /* grepwhile */
1549 Perl_ck_grep, /* mapstart */
1550 Perl_ck_null, /* mapwhile */
1551 Perl_ck_null, /* range */
1552 Perl_ck_null, /* flip */
1553 Perl_ck_null, /* flop */
1554 Perl_ck_null, /* and */
1555 Perl_ck_null, /* or */
1556 Perl_ck_null, /* xor */
1557 Perl_ck_null, /* dor */
1558 Perl_ck_null, /* cond_expr */
1559 Perl_ck_null, /* andassign */
1560 Perl_ck_null, /* orassign */
1561 Perl_ck_null, /* dorassign */
ef69c8fc
BM
1562 Perl_ck_subr, /* entersub */
1563 Perl_ck_null, /* leavesub */
1564 Perl_ck_null, /* leavesublv */
4fa06845
DM
1565 Perl_ck_null, /* argcheck */
1566 Perl_ck_null, /* argelem */
1567 Perl_ck_null, /* argdefelem */
ef69c8fc
BM
1568 Perl_ck_fun, /* caller */
1569 Perl_ck_fun, /* warn */
97124ef6 1570 Perl_ck_fun, /* die */
ef69c8fc
BM
1571 Perl_ck_fun, /* reset */
1572 Perl_ck_null, /* lineseq */
1573 Perl_ck_null, /* nextstate */
1574 Perl_ck_null, /* dbstate */
1575 Perl_ck_null, /* unstack */
1576 Perl_ck_null, /* enter */
1577 Perl_ck_null, /* leave */
1578 Perl_ck_null, /* scope */
1579 Perl_ck_null, /* enteriter */
1580 Perl_ck_null, /* iter */
1581 Perl_ck_null, /* enterloop */
1582 Perl_ck_null, /* leaveloop */
1583 Perl_ck_return, /* return */
1584 Perl_ck_null, /* last */
1585 Perl_ck_null, /* next */
1586 Perl_ck_null, /* redo */
1587 Perl_ck_null, /* dump */
1588 Perl_ck_null, /* goto */
5450b4d8 1589 Perl_ck_fun, /* exit */
f961b1eb 1590 Perl_ck_method, /* method */
ef69c8fc 1591 Perl_ck_null, /* method_named */
7d6c333c 1592 Perl_ck_null, /* method_super */
810bd8b7 1593 Perl_ck_null, /* method_redir */
1594 Perl_ck_null, /* method_redir_super */
ef69c8fc 1595 Perl_ck_null, /* entergiven */
7896dde7
Z
1596 Perl_ck_null, /* leavegiven */
1597 Perl_ck_null, /* enterwhen */
1598 Perl_ck_null, /* leavewhen */
1599 Perl_ck_null, /* break */
ef69c8fc
BM
1600 Perl_ck_null, /* continue */
1601 Perl_ck_open, /* open */
1602 Perl_ck_fun, /* close */
1603 Perl_ck_fun, /* pipe_op */
1604 Perl_ck_fun, /* fileno */
1605 Perl_ck_fun, /* umask */
1606 Perl_ck_fun, /* binmode */
1607 Perl_ck_fun, /* tie */
1608 Perl_ck_fun, /* untie */
1609 Perl_ck_fun, /* tied */
1610 Perl_ck_fun, /* dbmopen */
1611 Perl_ck_fun, /* dbmclose */
1612 Perl_ck_select, /* sselect */
1613 Perl_ck_select, /* select */
1614 Perl_ck_eof, /* getc */
1615 Perl_ck_fun, /* read */
1616 Perl_ck_fun, /* enterwrite */
1617 Perl_ck_null, /* leavewrite */
1618 Perl_ck_listiob, /* prtf */
1619 Perl_ck_listiob, /* print */
1620 Perl_ck_listiob, /* say */
1621 Perl_ck_fun, /* sysopen */
1622 Perl_ck_fun, /* sysseek */
1623 Perl_ck_fun, /* sysread */
1624 Perl_ck_fun, /* syswrite */
1625 Perl_ck_eof, /* eof */
8dc99089 1626 Perl_ck_tell, /* tell */
423e8af5 1627 Perl_ck_tell, /* seek */
ef69c8fc
BM
1628 Perl_ck_trunc, /* truncate */
1629 Perl_ck_fun, /* fcntl */
1630 Perl_ck_fun, /* ioctl */
1631 Perl_ck_fun, /* flock */
1632 Perl_ck_fun, /* send */
1633 Perl_ck_fun, /* recv */
1634 Perl_ck_fun, /* socket */
1635 Perl_ck_fun, /* sockpair */
1636 Perl_ck_fun, /* bind */
1637 Perl_ck_fun, /* connect */
1638 Perl_ck_fun, /* listen */
1639 Perl_ck_fun, /* accept */
1640 Perl_ck_fun, /* shutdown */
1641 Perl_ck_fun, /* gsockopt */
1642 Perl_ck_fun, /* ssockopt */
1643 Perl_ck_fun, /* getsockname */
1644 Perl_ck_fun, /* getpeername */
1645 Perl_ck_ftst, /* lstat */
1646 Perl_ck_ftst, /* stat */
1647 Perl_ck_ftst, /* ftrread */
1648 Perl_ck_ftst, /* ftrwrite */
1649 Perl_ck_ftst, /* ftrexec */
1650 Perl_ck_ftst, /* fteread */
1651 Perl_ck_ftst, /* ftewrite */
1652 Perl_ck_ftst, /* fteexec */
1653 Perl_ck_ftst, /* ftis */
1654 Perl_ck_ftst, /* ftsize */
1655 Perl_ck_ftst, /* ftmtime */
1656 Perl_ck_ftst, /* ftatime */
1657 Perl_ck_ftst, /* ftctime */
1658 Perl_ck_ftst, /* ftrowned */
1659 Perl_ck_ftst, /* fteowned */
1660 Perl_ck_ftst, /* ftzero */
1661 Perl_ck_ftst, /* ftsock */
1662 Perl_ck_ftst, /* ftchr */
1663 Perl_ck_ftst, /* ftblk */
1664 Perl_ck_ftst, /* ftfile */
1665 Perl_ck_ftst, /* ftdir */
1666 Perl_ck_ftst, /* ftpipe */
1667 Perl_ck_ftst, /* ftsuid */
1668 Perl_ck_ftst, /* ftsgid */
1669 Perl_ck_ftst, /* ftsvtx */
1670 Perl_ck_ftst, /* ftlink */
1671 Perl_ck_ftst, /* fttty */
1672 Perl_ck_ftst, /* fttext */
1673 Perl_ck_ftst, /* ftbinary */
8777c9be 1674 Perl_ck_trunc, /* chdir */
ef69c8fc
BM
1675 Perl_ck_fun, /* chown */
1676 Perl_ck_fun, /* chroot */
1677 Perl_ck_fun, /* unlink */
1678 Perl_ck_fun, /* chmod */
1679 Perl_ck_fun, /* utime */
1680 Perl_ck_fun, /* rename */
1681 Perl_ck_fun, /* link */
1682 Perl_ck_fun, /* symlink */
1683 Perl_ck_fun, /* readlink */
1684 Perl_ck_fun, /* mkdir */
1685 Perl_ck_fun, /* rmdir */
1686 Perl_ck_fun, /* open_dir */
1687 Perl_ck_fun, /* readdir */
1688 Perl_ck_fun, /* telldir */
1689 Perl_ck_fun, /* seekdir */
1690 Perl_ck_fun, /* rewinddir */
1691 Perl_ck_fun, /* closedir */
1692 Perl_ck_null, /* fork */
1693 Perl_ck_null, /* wait */
1694 Perl_ck_fun, /* waitpid */
1695 Perl_ck_exec, /* system */
1696 Perl_ck_exec, /* exec */
1697 Perl_ck_fun, /* kill */
1698 Perl_ck_null, /* getppid */
1699 Perl_ck_fun, /* getpgrp */
1700 Perl_ck_fun, /* setpgrp */
1701 Perl_ck_fun, /* getpriority */
1702 Perl_ck_fun, /* setpriority */
1703 Perl_ck_null, /* time */
1704 Perl_ck_null, /* tms */
1705 Perl_ck_fun, /* localtime */
1706 Perl_ck_fun, /* gmtime */
1707 Perl_ck_fun, /* alarm */
1708 Perl_ck_fun, /* sleep */
1709 Perl_ck_fun, /* shmget */
1710 Perl_ck_fun, /* shmctl */
1711 Perl_ck_fun, /* shmread */
1712 Perl_ck_fun, /* shmwrite */
1713 Perl_ck_fun, /* msgget */
1714 Perl_ck_fun, /* msgctl */
1715 Perl_ck_fun, /* msgsnd */
1716 Perl_ck_fun, /* msgrcv */
1717 Perl_ck_fun, /* semop */
1718 Perl_ck_fun, /* semget */
1719 Perl_ck_fun, /* semctl */
1720 Perl_ck_require, /* require */
1721 Perl_ck_fun, /* dofile */
1722 Perl_ck_svconst, /* hintseval */
1723 Perl_ck_eval, /* entereval */
1724 Perl_ck_null, /* leaveeval */
1725 Perl_ck_eval, /* entertry */
1726 Perl_ck_null, /* leavetry */
1727 Perl_ck_fun, /* ghbyname */
1728 Perl_ck_fun, /* ghbyaddr */
1729 Perl_ck_null, /* ghostent */
1730 Perl_ck_fun, /* gnbyname */
1731 Perl_ck_fun, /* gnbyaddr */
1732 Perl_ck_null, /* gnetent */
1733 Perl_ck_fun, /* gpbyname */
1734 Perl_ck_fun, /* gpbynumber */
1735 Perl_ck_null, /* gprotoent */
1736 Perl_ck_fun, /* gsbyname */
1737 Perl_ck_fun, /* gsbyport */
1738 Perl_ck_null, /* gservent */
1739 Perl_ck_fun, /* shostent */
1740 Perl_ck_fun, /* snetent */
1741 Perl_ck_fun, /* sprotoent */
1742 Perl_ck_fun, /* sservent */
1743 Perl_ck_null, /* ehostent */
1744 Perl_ck_null, /* enetent */
1745 Perl_ck_null, /* eprotoent */
1746 Perl_ck_null, /* eservent */
1747 Perl_ck_fun, /* gpwnam */
1748 Perl_ck_fun, /* gpwuid */
1749 Perl_ck_null, /* gpwent */
1750 Perl_ck_null, /* spwent */
1751 Perl_ck_null, /* epwent */
1752 Perl_ck_fun, /* ggrnam */
1753 Perl_ck_fun, /* ggrgid */
1754 Perl_ck_null, /* ggrent */
1755 Perl_ck_null, /* sgrent */
1756 Perl_ck_null, /* egrent */
1757 Perl_ck_null, /* getlogin */
1758 Perl_ck_fun, /* syscall */
1759 Perl_ck_rfun, /* lock */
1760 Perl_ck_null, /* once */
1761 Perl_ck_null, /* custom */
deb8a388 1762 Perl_ck_null, /* coreargs */
88101882 1763 Perl_ck_null, /* avhvswitch */
84ed0108 1764 Perl_ck_null, /* runcv */
838f2281 1765 Perl_ck_fun, /* fc */
ac217057 1766 Perl_ck_null, /* padcv */
ecf9c8b7 1767 Perl_ck_null, /* introcv */
13f89586 1768 Perl_ck_null, /* clonecv */
a7fd8ef6 1769 Perl_ck_null, /* padrange */
4fec8804 1770 Perl_ck_refassign, /* refassign */
4c5bab50 1771 Perl_ck_null, /* lvref */
16b99412 1772 Perl_ck_null, /* lvrefslice */
2882b3ff 1773 Perl_ck_null, /* lvavref */
b77472f9 1774 Perl_ck_null, /* anonconst */
813e85a0 1775 Perl_ck_isa, /* isa */
02b85d3d
Z
1776 Perl_ck_null, /* cmpchain_and */
1777 Perl_ck_null, /* cmpchain_dup */
0850138d 1778}
79072805 1779#endif
0850138d 1780;
79072805
LW
1781
1782#ifndef DOINIT
1ccb7c8d 1783EXTCONST U32 PL_opargs[];
79072805 1784#else
1ccb7c8d 1785EXTCONST U32 PL_opargs[] = {
79072805 1786 0x00000000, /* null */
93a17b20 1787 0x00000000, /* stub */
903fd87c 1788 0x00001b04, /* scalar */
79072805 1789 0x00000004, /* pushmark */
903fd87c
NC
1790 0x00000004, /* wantarray */
1791 0x00000604, /* const */
1792 0x00000644, /* gvsv */
1793 0x00000644, /* gv */
6e372f32 1794 0x00011244, /* gelem */
748a9306
LW
1795 0x00000044, /* padsv */
1796 0x00000040, /* padav */
1797 0x00000040, /* padhv */
1798 0x00000040, /* padany */
903fd87c
NC
1799 0x00000144, /* rv2gv */
1800 0x00000144, /* rv2sv */
1801 0x00000104, /* av2arylen */
1802 0x00000140, /* rv2cv */
01762542 1803 0x00000604, /* anoncode */
eb4ec35b 1804 0x00009b84, /* prototype */
903fd87c
NC
1805 0x00002101, /* refgen */
1806 0x00001106, /* srefgen */
1807 0x00009b8c, /* ref */
1808 0x00091404, /* bless */
1809 0x00009b88, /* backtick */
1810 0x00009408, /* glob */
1811 0x0000eb08, /* readline */
1812 0x00000608, /* rcatline */
1813 0x00001104, /* regcmaybe */
1814 0x00001104, /* regcreset */
1815 0x00001304, /* regcomp */
9d99d451 1816 0x00000500, /* match */
903fd87c 1817 0x00000504, /* qr */
7f581e76
FC
1818 0x00001504, /* subst */
1819 0x00000304, /* substcont */
903fd87c 1820 0x00001804, /* trans */
bfa14884 1821 0x00001804, /* transr */
1257c081 1822 0x00011204, /* sassign */
903fd87c
NC
1823 0x00022208, /* aassign */
1824 0x00002b0d, /* chop */
1825 0x00009b8c, /* schop */
1826 0x00002b1d, /* chomp */
1827 0x00009b9c, /* schomp */
1828 0x00009b84, /* defined */
89c5c07e 1829 0x0000fb04, /* undef */
903fd87c 1830 0x00009b84, /* study */
abe56f58 1831 0x0000fb8c, /* pos */
903fd87c
NC
1832 0x00001164, /* preinc */
1833 0x00001144, /* i_preinc */
1834 0x00001164, /* predec */
1835 0x00001144, /* i_predec */
3baa0581
FC
1836 0x0000112c, /* postinc */
1837 0x0000110c, /* i_postinc */
1838 0x0000112c, /* postdec */
1839 0x0000110c, /* i_postdec */
903fd87c
NC
1840 0x0001121e, /* pow */
1841 0x0001123e, /* multiply */
1842 0x0001121e, /* i_multiply */
1843 0x0001123e, /* divide */
1844 0x0001121e, /* i_divide */
1845 0x0001123e, /* modulo */
1846 0x0001121e, /* i_modulo */
21639bf4 1847 0x0001220b, /* repeat */
903fd87c
NC
1848 0x0001123e, /* add */
1849 0x0001121e, /* i_add */
1850 0x0001123e, /* subtract */
1851 0x0001121e, /* i_subtract */
1852 0x0001121e, /* concat */
e839e6ed 1853 0x00000f1c, /* multiconcat */
903fd87c
NC
1854 0x0000141e, /* stringify */
1855 0x0001121e, /* left_shift */
1856 0x0001121e, /* right_shift */
1857 0x00011226, /* lt */
1858 0x00011206, /* i_lt */
1859 0x00011226, /* gt */
1860 0x00011206, /* i_gt */
1861 0x00011226, /* le */
1862 0x00011206, /* i_le */
1863 0x00011226, /* ge */
1864 0x00011206, /* i_ge */
1865 0x00011226, /* eq */
1866 0x00011206, /* i_eq */
1867 0x00011226, /* ne */
1868 0x00011206, /* i_ne */
1869 0x0001122e, /* ncmp */
21639bf4 1870 0x0001120e, /* i_ncmp */
903fd87c
NC
1871 0x00011206, /* slt */
1872 0x00011206, /* sgt */
1873 0x00011206, /* sle */
1874 0x00011206, /* sge */
1875 0x00011206, /* seq */
1876 0x00011206, /* sne */
21639bf4 1877 0x0001120e, /* scmp */
903fd87c
NC
1878 0x0001120e, /* bit_and */
1879 0x0001120e, /* bit_xor */
1880 0x0001120e, /* bit_or */
5d01050a
FC
1881 0x0001121e, /* nbit_and */
1882 0x0001121e, /* nbit_xor */
1883 0x0001121e, /* nbit_or */
1884 0x0001120e, /* sbit_and */
1885 0x0001120e, /* sbit_xor */
1886 0x0001120e, /* sbit_or */
903fd87c 1887 0x0000112e, /* negate */
a9dec3fe 1888 0x0000110e, /* i_negate */
903fd87c 1889 0x00001106, /* not */
21639bf4 1890 0x0000110e, /* complement */
5d01050a
FC
1891 0x0000111e, /* ncomplement */
1892 0x0000111e, /* scomplement */
7896dde7 1893 0x00000204, /* smartmatch */
903fd87c
NC
1894 0x0001141e, /* atan2 */
1895 0x00009b9e, /* sin */
1896 0x00009b9e, /* cos */
1897 0x00009b1c, /* rand */
1898 0x00009b1c, /* srand */
1899 0x00009b9e, /* exp */
1900 0x00009b9e, /* log */
1901 0x00009b9e, /* sqrt */
1902 0x00009b9e, /* int */
1903 0x00009b9e, /* hex */
1904 0x00009b9e, /* oct */
1905 0x00009b9e, /* abs */
1906 0x00009b9e, /* length */
1907 0x0991140c, /* substr */
21639bf4 1908 0x0011140c, /* vec */
903fd87c
NC
1909 0x0091141c, /* index */
1910 0x0091141c, /* rindex */
1911 0x0002140f, /* sprintf */
1912 0x00021405, /* formline */
1913 0x00009b9e, /* ord */
1914 0x00009b9e, /* chr */
1915 0x0001141e, /* crypt */
1916 0x00009b8e, /* ucfirst */
1917 0x00009b8e, /* lcfirst */
1918 0x00009b8e, /* uc */
1919 0x00009b8e, /* lc */
1920 0x00009b8e, /* quotemeta */
1921 0x00000148, /* rv2av */
689d8423 1922 0x00013644, /* aelemfast */
bfa14884 1923 0x00013040, /* aelemfast_lex */
903fd87c
NC
1924 0x00013204, /* aelem */
1925 0x00023401, /* aslice */
6dd3e0f2 1926 0x00023401, /* kvaslice */
d86b3122 1927 0x00003b40, /* aeach */
d86b3122 1928 0x00003b48, /* avalues */
d88ca568 1929 0x00003b08, /* akeys */
d86b3122
FC
1930 0x00004b40, /* each */
1931 0x00004b48, /* values */
903fd87c
NC
1932 0x00004b08, /* keys */
1933 0x00001b00, /* delete */
1934 0x00001b04, /* exists */
e84e4286 1935 0x00000148, /* rv2hv */
903fd87c
NC
1936 0x00014204, /* helem */
1937 0x00024401, /* hslice */
5cae3edb 1938 0x00024401, /* kvhslice */
fedf30e1 1939 0x00000f44, /* multideref */
ea5703f4 1940 0x00091480, /* unpack */
dd9a6ccf 1941 0x0002140f, /* pack */
5012eebe 1942 0x00111508, /* split */
987c9691 1943 0x0002140f, /* join */
903fd87c
NC
1944 0x00002401, /* list */
1945 0x00224200, /* lslice */
1946 0x00002405, /* anonlist */
1947 0x00002405, /* anonhash */
1948 0x02993401, /* splice */
1949 0x0002341d, /* push */
1950 0x0000bb04, /* pop */
1951 0x0000bb04, /* shift */
1952 0x0002341d, /* unshift */
61aeaf96 1953 0x0002d401, /* sort */
903fd87c 1954 0x00002409, /* reverse */
f39944c1
FC
1955 0x00025401, /* grepstart */
1956 0x00000308, /* grepwhile */
1957 0x00025401, /* mapstart */
1958 0x00000308, /* mapwhile */
903fd87c
NC
1959 0x00011300, /* range */
1960 0x00011100, /* flip */
1961 0x00000100, /* flop */
1962 0x00000300, /* and */
1963 0x00000300, /* or */
1964 0x00011206, /* xor */
1965 0x00000300, /* dor */
aafd37e7 1966 0x00000300, /* cond_expr */
903fd87c
NC
1967 0x00000304, /* andassign */
1968 0x00000304, /* orassign */
1969 0x00000304, /* dorassign */
57ee255e 1970 0x00002141, /* entersub */
903fd87c
NC
1971 0x00000100, /* leavesub */
1972 0x00000100, /* leavesublv */
4fa06845
DM
1973 0x00000f00, /* argcheck */
1974 0x00000f00, /* argelem */
1975 0x00000300, /* argdefelem */
903fd87c
NC
1976 0x00009b08, /* caller */
1977 0x0000240d, /* warn */
2eb51413 1978 0x0000240d, /* die */
903fd87c
NC
1979 0x00009b04, /* reset */
1980 0x00000400, /* lineseq */
1981 0x00000a04, /* nextstate */
1982 0x00000a04, /* dbstate */
79072805
LW
1983 0x00000004, /* unstack */
1984 0x00000000, /* enter */
903fd87c
NC
1985 0x00000400, /* leave */
1986 0x00000400, /* scope */
1987 0x00000940, /* enteriter */
79072805 1988 0x00000000, /* iter */
903fd87c
NC
1989 0x00000940, /* enterloop */
1990 0x00000200, /* leaveloop */
b31e13ff
FC
1991 0x00002401, /* return */
1992 0x00000d04, /* last */
1993 0x00000d04, /* next */
1994 0x00000d04, /* redo */
903fd87c 1995 0x00000d44, /* dump */
b31e13ff 1996 0x00000d04, /* goto */
26812b4a 1997 0x00009b04, /* exit */
f961b1eb 1998 0x00000e40, /* method */
b46e009d 1999 0x00000e40, /* method_named */
7d6c333c 2000 0x00000e40, /* method_super */
810bd8b7 2001 0x00000e40, /* method_redir */
2002 0x00000e40, /* method_redir_super */
7896dde7
Z
2003 0x00000340, /* entergiven */
2004 0x00000100, /* leavegiven */
2005 0x00000340, /* enterwhen */
2006 0x00000100, /* leavewhen */
2007 0x00000000, /* break */
fdecdb95 2008 0x00000000, /* continue */
903fd87c
NC
2009 0x0029640d, /* open */
2010 0x0000eb04, /* close */
2011 0x00066404, /* pipe_op */
2012 0x00006b0c, /* fileno */
2013 0x00009b0c, /* umask */
2014 0x00096404, /* binmode */
2015 0x00217445, /* tie */
2016 0x00007b04, /* untie */
6575cde0 2017 0x00007b44, /* tied */
903fd87c
NC
2018 0x00114404, /* dbmopen */
2019 0x00004b04, /* dbmclose */
2020 0x01111408, /* sselect */
2021 0x0000e40c, /* select */
2022 0x0000eb0c, /* getc */
2023 0x0917640d, /* read */
fc5ae97d 2024 0x0000eb04, /* enterwrite */
903fd87c
NC
2025 0x00000100, /* leavewrite */
2026 0x0002e405, /* prtf */
2027 0x0002e405, /* print */
2028 0x0002e405, /* say */
2029 0x09116404, /* sysopen */
2030 0x00116404, /* sysseek */
2031 0x0917640d, /* sysread */
2032 0x0991640d, /* syswrite */
2033 0x0000eb04, /* eof */
2034 0x0000eb0c, /* tell */
2035 0x00116404, /* seek */
2036 0x00011404, /* truncate */
2037 0x0011640c, /* fcntl */
2038 0x0011640c, /* ioctl */
2039 0x0001641c, /* flock */
2040 0x0911640d, /* send */
2041 0x0117640d, /* recv */
2042 0x01116404, /* socket */
2043 0x11166404, /* sockpair */
2044 0x00016404, /* bind */
2045 0x00016404, /* connect */
2046 0x00016404, /* listen */
2047 0x0006640c, /* accept */
2048 0x0001640c, /* shutdown */
2049 0x00116404, /* gsockopt */
2050 0x01116404, /* ssockopt */
2051 0x00006b04, /* getsockname */
2052 0x00006b04, /* getpeername */
465bc0f5
FC
2053 0x0000ec80, /* lstat */
2054 0x0000ec80, /* stat */
903fd87c
NC
2055 0x00006c84, /* ftrread */
2056 0x00006c84, /* ftrwrite */
2057 0x00006c84, /* ftrexec */
2058 0x00006c84, /* fteread */
2059 0x00006c84, /* ftewrite */
2060 0x00006c84, /* fteexec */
2061 0x00006c84, /* ftis */
2062 0x00006c8c, /* ftsize */
2063 0x00006c8c, /* ftmtime */
2064 0x00006c8c, /* ftatime */
2065 0x00006c8c, /* ftctime */
2066 0x00006c84, /* ftrowned */
2067 0x00006c84, /* fteowned */
2068 0x00006c84, /* ftzero */
2069 0x00006c84, /* ftsock */
2070 0x00006c84, /* ftchr */
2071 0x00006c84, /* ftblk */
2072 0x00006c84, /* ftfile */
2073 0x00006c84, /* ftdir */
2074 0x00006c84, /* ftpipe */
2075 0x00006c84, /* ftsuid */
2076 0x00006c84, /* ftsgid */
2077 0x00006c84, /* ftsvtx */
2078 0x00006c84, /* ftlink */
2079 0x00006c04, /* fttty */
2080 0x00006c84, /* fttext */
2081 0x00006c84, /* ftbinary */
2082 0x00009b1c, /* chdir */
2083 0x0000241d, /* chown */
2084 0x00009b9c, /* chroot */
2085 0x0000249d, /* unlink */
2086 0x0000241d, /* chmod */
2087 0x0000241d, /* utime */
2088 0x0001141c, /* rename */
2089 0x0001141c, /* link */
2090 0x0001141c, /* symlink */
2091 0x00009b8c, /* readlink */
2092 0x0009949c, /* mkdir */
2093 0x00009b9c, /* rmdir */
2094 0x00016404, /* open_dir */
2095 0x00006b00, /* readdir */
2096 0x00006b0c, /* telldir */
2097 0x00016404, /* seekdir */
2098 0x00006b04, /* rewinddir */
2099 0x00006b04, /* closedir */
2100 0x0000000c, /* fork */
2101 0x0000001c, /* wait */
2102 0x0001141c, /* waitpid */
2103 0x0002941d, /* system */
1062548a 2104 0x0002941d, /* exec */
9618b155 2105 0x0000241d, /* kill */
903fd87c
NC
2106 0x0000001c, /* getppid */
2107 0x00009b1c, /* getpgrp */
2108 0x0009941c, /* setpgrp */
2109 0x0001141c, /* getpriority */
2110 0x0011141c, /* setpriority */
2111 0x0000001c, /* time */
79072805 2112 0x00000000, /* tms */
903fd87c
NC
2113 0x00009b08, /* localtime */
2114 0x00009b08, /* gmtime */
2115 0x00009b8c, /* alarm */
2116 0x00009b1c, /* sleep */
2117 0x0011140d, /* shmget */
2118 0x0011140d, /* shmctl */
2119 0x0111140d, /* shmread */
2120 0x0111140d, /* shmwrite */
2121 0x0001140d, /* msgget */
2122 0x0011140d, /* msgctl */
2123 0x0011140d, /* msgsnd */
2124 0x1111140d, /* msgrcv */
2125 0x0001140d, /* semop */
2126 0x0011140d, /* semget */
2127 0x0111140d, /* semctl */
353d8d11 2128 0x00009bc4, /* require */
903fd87c
NC
2129 0x00001140, /* dofile */
2130 0x00000604, /* hintseval */
7d789282 2131 0x00009bc0, /* entereval */
903fd87c 2132 0x00001100, /* leaveeval */
a4256772 2133 0x00000340, /* entertry */
903fd87c
NC
2134 0x00000400, /* leavetry */
2135 0x00001b00, /* ghbyname */
2136 0x00011400, /* ghbyaddr */
79072805 2137 0x00000000, /* ghostent */
903fd87c
NC
2138 0x00001b00, /* gnbyname */
2139 0x00011400, /* gnbyaddr */
79072805 2140 0x00000000, /* gnetent */
903fd87c
NC
2141 0x00001b00, /* gpbyname */
2142 0x00001400, /* gpbynumber */
79072805 2143 0x00000000, /* gprotoent */
903fd87c
NC
2144 0x00011400, /* gsbyname */
2145 0x00011400, /* gsbyport */
79072805 2146 0x00000000, /* gservent */
903fd87c
NC
2147 0x00001b04, /* shostent */
2148 0x00001b04, /* snetent */
2149 0x00001b04, /* sprotoent */
2150 0x00001b04, /* sservent */
2151 0x00000004, /* ehostent */
2152 0x00000004, /* enetent */
2153 0x00000004, /* eprotoent */
2154 0x00000004, /* eservent */
2155 0x00001b00, /* gpwnam */
2156 0x00001b00, /* gpwuid */
79072805 2157 0x00000000, /* gpwent */
903fd87c
NC
2158 0x00000004, /* spwent */
2159 0x00000004, /* epwent */
2160 0x00001b00, /* ggrnam */
2161 0x00001b00, /* ggrgid */
79072805 2162 0x00000000, /* ggrent */
903fd87c
NC
2163 0x00000004, /* sgrent */
2164 0x00000004, /* egrent */
79072805 2165 0x0000000c, /* getlogin */
903fd87c
NC
2166 0x0002140d, /* syscall */
2167 0x00007b04, /* lock */
2168 0x00000300, /* once */
438c221d 2169 0x00000000, /* custom */
deb8a388 2170 0x00000600, /* coreargs */
88101882 2171 0x00000108, /* avhvswitch */
84ed0108 2172 0x00000004, /* runcv */
838f2281 2173 0x00009b8e, /* fc */
ac217057 2174 0x00000040, /* padcv */
ecf9c8b7 2175 0x00000040, /* introcv */
13f89586 2176 0x00000040, /* clonecv */
a7fd8ef6 2177 0x00000040, /* padrange */
6e372f32 2178 0x00000244, /* refassign */
4b6cf48b 2179 0x00000b40, /* lvref */
16b99412 2180 0x00000440, /* lvrefslice */
2882b3ff 2181 0x00000b40, /* lvavref */
b77472f9 2182 0x00000144, /* anonconst */
813e85a0 2183 0x00000204, /* isa */
02b85d3d
Z
2184 0x00000300, /* cmpchain_and */
2185 0x00000100, /* cmpchain_dup */
79072805
LW
2186};
2187#endif
73c4f7a1
GS
2188
2189END_EXTERN_C
27da23d5 2190
f3574cc6 2191
4fa06845 2192#define OPpARGELEM_SV 0x00
c2380ea1 2193#define OPpLVREF_SV 0x00
f3574cc6
DM
2194#define OPpARG1_MASK 0x01
2195#define OPpCOREARGS_DEREF1 0x01
2196#define OPpENTERSUB_INARGS 0x01
748f2c65
DM
2197#define OPpPADHV_ISKEYS 0x01
2198#define OPpRV2HV_ISKEYS 0x01
f3574cc6 2199#define OPpSORT_NUMERIC 0x01
6507ac83 2200#define OPpTRANS_CAN_FORCE_UTF8 0x01
4fa06845 2201#define OPpARGELEM_AV 0x02
f3574cc6
DM
2202#define OPpCONST_NOVER 0x02
2203#define OPpCOREARGS_DEREF2 0x02
2204#define OPpEVAL_HAS_HH 0x02
2205#define OPpFT_ACCESS 0x02
f3574cc6 2206#define OPpHINT_STRICT_REFS 0x02
93661e56 2207#define OPpITER_REVERSED 0x02
f3574cc6 2208#define OPpSORT_INTEGER 0x02
6507ac83 2209#define OPpTRANS_USE_SVOP 0x02
f3574cc6 2210#define OPpARG2_MASK 0x03
e1e26374 2211#define OPpAVHVSWITCH_MASK 0x03
4fa06845 2212#define OPpARGELEM_HV 0x04
7b394f12 2213#define OPpASSIGN_TRUEBOOL 0x04
f3574cc6
DM
2214#define OPpCONST_SHORTCIRCUIT 0x04
2215#define OPpDONT_INIT_GV 0x04
2216#define OPpENTERSUB_HASTARG 0x04
2217#define OPpEVAL_UNICODE 0x04
2218#define OPpFT_STACKED 0x04
6102323a 2219#define OPpLVREF_ELEM 0x04
f3574cc6
DM
2220#define OPpSLICEWARNING 0x04
2221#define OPpSORT_REVERSE 0x04
692044df 2222#define OPpSPLIT_IMPLIM 0x04
f3574cc6 2223#define OPpTRANS_IDENTICAL 0x04
4fa06845 2224#define OPpARGELEM_MASK 0x06
f3574cc6
DM
2225#define OPpARG3_MASK 0x07
2226#define OPpPADRANGE_COUNTSHIFT 0x07
2227#define OPpCONST_STRICT 0x08
2228#define OPpENTERSUB_AMPER 0x08
2229#define OPpEVAL_BYTES 0x08
2230#define OPpFT_STACKING 0x08
7896dde7 2231#define OPpITER_DEF 0x08
5a36b2c0 2232#define OPpLVREF_ITER 0x08
f3574cc6 2233#define OPpMAYBE_LVSUB 0x08
e839e6ed 2234#define OPpMULTICONCAT_STRINGIFY 0x08
f3574cc6
DM
2235#define OPpREVERSE_INPLACE 0x08
2236#define OPpSORT_INPLACE 0x08
5012eebe 2237#define OPpSPLIT_LEX 0x08
f3574cc6
DM
2238#define OPpTRANS_SQUASH 0x08
2239#define OPpARG4_MASK 0x0f
a5f48505 2240#define OPpASSIGN_COMMON_AGG 0x10
f3574cc6 2241#define OPpCONST_ENTERED 0x10
9e209402 2242#define OPpDEREF_AV 0x10
f3574cc6
DM
2243#define OPpEVAL_COPHH 0x10
2244#define OPpFT_AFTER_t 0x10
9e209402
FC
2245#define OPpLVREF_AV 0x10
2246#define OPpMAYBE_TRUEBOOL 0x10
fedf30e1 2247#define OPpMULTIDEREF_EXISTS 0x10
f3574cc6 2248#define OPpOPEN_IN_RAW 0x10
f3574cc6 2249#define OPpSORT_DESCEND 0x10
5012eebe 2250#define OPpSPLIT_ASSIGN 0x10
f3574cc6
DM
2251#define OPpSUBSTR_REPL_FIRST 0x10
2252#define OPpTARGET_MY 0x10
a5f48505 2253#define OPpASSIGN_COMMON_RC1 0x20
9e209402 2254#define OPpDEREF_HV 0x20
f3574cc6
DM
2255#define OPpEARLY_CV 0x20
2256#define OPpEVAL_RE_REPARSING 0x20
2257#define OPpHUSH_VMSISH 0x20
cc0776d6 2258#define OPpKVSLICE 0x20
9e209402
FC
2259#define OPpLVREF_HV 0x20
2260#define OPpMAY_RETURN_CONSTANT 0x20
e839e6ed 2261#define OPpMULTICONCAT_FAKE 0x20
fedf30e1 2262#define OPpMULTIDEREF_DELETE 0x20
f3574cc6 2263#define OPpOPEN_IN_CRLF 0x20
f3574cc6
DM
2264#define OPpTRANS_COMPLEMENT 0x20
2265#define OPpTRUEBOOL 0x20
9e209402
FC
2266#define OPpDEREF 0x30
2267#define OPpDEREF_SV 0x30
2268#define OPpLVREF_CV 0x30
2269#define OPpLVREF_TYPE 0x30
2270#define OPpALLOW_FAKE 0x40
f3574cc6 2271#define OPpASSIGN_BACKWARDS 0x40
a5f48505 2272#define OPpASSIGN_COMMON_SCALAR 0x40
d962625f 2273#define OPpCONCAT_NESTED 0x40
f3574cc6
DM
2274#define OPpCONST_BARE 0x40
2275#define OPpCOREARGS_SCALARMOD 0x40
9e209402 2276#define OPpENTERSUB_DB 0x40
f3574cc6
DM
2277#define OPpEXISTS_SUB 0x40
2278#define OPpFLIP_LINENUM 0x40
7e8d786b 2279#define OPpINDEX_BOOLNEG 0x40
f3574cc6 2280#define OPpLIST_GUESSED 0x40
9e209402 2281#define OPpLVAL_DEFER 0x40
e839e6ed 2282#define OPpMULTICONCAT_APPEND 0x40
f3574cc6 2283#define OPpOPEN_OUT_RAW 0x40
9e209402
FC
2284#define OPpOUR_INTRO 0x40
2285#define OPpPAD_STATE 0x40
f3574cc6
DM
2286#define OPpREFCOUNTED 0x40
2287#define OPpREPEAT_DOLIST 0x40
f3574cc6
DM
2288#define OPpSLICE 0x40
2289#define OPpSORT_STABLE 0x40
2290#define OPpTRANS_GROWS 0x40
f3574cc6
DM
2291#define OPpPADRANGE_COUNTMASK 0x7f
2292#define OPpASSIGN_CV_TO_GV 0x80
2293#define OPpCOREARGS_PUSHMARK 0x80
2294#define OPpENTERSUB_NOPAREN 0x80
f3574cc6
DM
2295#define OPpLVALUE 0x80
2296#define OPpLVAL_INTRO 0x80
2297#define OPpOFFBYONE 0x80
2298#define OPpOPEN_OUT_CRLF 0x80
2299#define OPpPV_IS_UTF8 0x80
afe59f35 2300#define OPpSORT_UNSTABLE 0x80
f3574cc6
DM
2301#define OPpTRANS_DELETE 0x80
2302START_EXTERN_C
2303
8c3a0f6c 2304#ifndef DOINIT
f3574cc6
DM
2305
2306/* data about the flags in op_private */
2307
2308EXTCONST I16 PL_op_private_bitdef_ix[];
2309EXTCONST U16 PL_op_private_bitdefs[];
2310EXTCONST char PL_op_private_labels[];
2311EXTCONST I16 PL_op_private_bitfields[];
2312EXTCONST U8 PL_op_private_valid[];
2313
8c3a0f6c 2314#else
f3574cc6
DM
2315
2316
2317/* PL_op_private_labels[]: the short descriptions of private flags.
2318 * All labels are concatenated into a single char array
2319 * (separated by \0's) for compactness.
2320 */
2321
2322EXTCONST char PL_op_private_labels[] = {
2323 '$','M','O','D','\0',
2324 '+','1','\0',
2325 '-','\0',
f3574cc6 2326 'A','M','P','E','R','\0',
e839e6ed 2327 'A','P','P','E','N','D','\0',
5012eebe 2328 'A','S','S','I','G','N','\0',
c2380ea1 2329 'A','V','\0',
f3574cc6
DM
2330 'B','A','R','E','\0',
2331 'B','K','W','A','R','D','\0',
2332 'B','O','O','L','\0',
2333 'B','O','O','L','?','\0',
2334 'B','Y','T','E','S','\0',
6507ac83 2335 'C','A','N','_','F','O','R','C','E','_','U','T','F','8','\0',
f3574cc6 2336 'C','O','M','P','L','\0',
a5f48505
DM
2337 'C','O','M','_','A','G','G','\0',
2338 'C','O','M','_','R','C','1','\0',
2339 'C','O','M','_','S','C','A','L','A','R','\0',
f3574cc6
DM
2340 'C','O','N','S','T','\0',
2341 'C','O','P','H','H','\0',
c2380ea1 2342 'C','V','\0',
f3574cc6
DM
2343 'C','V','2','G','V','\0',
2344 'D','B','G','\0',
7896dde7 2345 'D','E','F','\0',
f3574cc6 2346 'D','E','L','\0',
fedf30e1 2347 'D','E','L','E','T','E','\0',
f3574cc6
DM
2348 'D','E','R','E','F','1','\0',
2349 'D','E','R','E','F','2','\0',
2350 'D','E','S','C','\0',
2351 'D','O','L','I','S','T','\0',
2352 'D','R','E','F','A','V','\0',
2353 'D','R','E','F','H','V','\0',
2354 'D','R','E','F','S','V','\0',
2355 'E','A','R','L','Y','C','V','\0',
6102323a 2356 'E','L','E','M','\0',
f3574cc6 2357 'E','N','T','E','R','E','D','\0',
fedf30e1 2358 'E','X','I','S','T','S','\0',
f3574cc6
DM
2359 'F','A','K','E','\0',
2360 'F','T','A','C','C','E','S','S','\0',
2361 'F','T','A','F','T','E','R','t','\0',
2362 'F','T','S','T','A','C','K','E','D','\0',
2363 'F','T','S','T','A','C','K','I','N','G','\0',
f3574cc6
DM
2364 'G','R','O','W','S','\0',
2365 'G','U','E','S','S','E','D','\0',
2366 'H','A','S','_','H','H','\0',
2367 'H','U','S','H','\0',
c2380ea1 2368 'H','V','\0',
f3574cc6
DM
2369 'I','D','E','N','T','\0',
2370 'I','M','P','L','I','M','\0',
2371 'I','N','A','R','G','S','\0',
2372 'I','N','B','I','N','\0',
2373 'I','N','C','R','\0',
2374 'I','N','P','L','A','C','E','\0',
2375 'I','N','T','\0',
5a36b2c0 2376 'I','T','E','R','\0',
748f2c65 2377 'K','E','Y','S','\0',
cc0776d6 2378 'K','V','S','L','I','C','E','\0',
5012eebe 2379 'L','E','X','\0',
f3574cc6
DM
2380 'L','I','N','E','N','U','M','\0',
2381 'L','V','\0',
2382 'L','V','D','E','F','E','R','\0',
2383 'L','V','I','N','T','R','O','\0',
2384 'L','V','S','U','B','\0',
2385 'M','A','R','K','\0',
7e8d786b 2386 'N','E','G','\0',
d962625f 2387 'N','E','S','T','E','D','\0',
f3574cc6
DM
2388 'N','O','(',')','\0',
2389 'N','O','I','N','I','T','\0',
2390 'N','O','V','E','R','\0',
2391 'N','U','M','\0',
2392 'O','U','R','I','N','T','R','\0',
2393 'O','U','T','B','I','N','\0',
2394 'O','U','T','C','R','\0',
f3574cc6 2395 'R','E','F','C','\0',
c486bd5c 2396 'R','E','P','A','R','S','E','\0',
f3574cc6
DM
2397 'R','E','P','L','1','S','T','\0',
2398 'R','E','V','\0',
2399 'R','E','V','E','R','S','E','D','\0',
f3574cc6
DM
2400 'S','H','O','R','T','\0',
2401 'S','L','I','C','E','\0',
2402 'S','L','I','C','E','W','A','R','N','\0',
2403 'S','Q','U','A','S','H','\0',
2404 'S','T','A','B','L','E','\0',
2405 'S','T','A','T','E','\0',
2406 'S','T','R','I','C','T','\0',
e839e6ed 2407 'S','T','R','I','N','G','I','F','Y','\0',
f3574cc6 2408 'S','U','B','\0',
c2380ea1 2409 'S','V','\0',
f3574cc6
DM
2410 'T','A','R','G','\0',
2411 'T','A','R','G','M','Y','\0',
2412 'U','N','I','\0',
afe59f35 2413 'U','N','S','T','A','B','L','E','\0',
6507ac83 2414 'U','S','E','_','S','V','O','P','\0',
f3574cc6 2415 'U','T','F','\0',
e9fb18e4 2416 'k','e','y','\0',
e1e26374 2417 'o','f','f','s','e','t','\0',
e9fb18e4 2418 'r','a','n','g','e','\0',
f3574cc6
DM
2419
2420};
2421
2422
2423
2424/* PL_op_private_bitfields[]: details about each bit field type.
ac5b5e2c 2425 * Each definition consists of the following list of words:
f3574cc6
DM
2426 * bitmin
2427 * label (index into PL_op_private_labels[]; -1 if no label)
2428 * repeat for each enum entry (if any):
2429 * enum value
2430 * enum label (index into PL_op_private_labels[])
2431 * -1
2432 */
2433
2434EXTCONST I16 PL_op_private_bitfields[] = {
2435 0, 8, -1,
2436 0, 8, -1,
6507ac83 2437 0, 597, -1,
f3574cc6
DM
2438 0, 8, -1,
2439 0, 8, -1,
6507ac83
KW
2440 0, 604, -1,
2441 0, 593, -1,
2442 1, -1, 0, 552, 1, 30, 2, 295, -1,
2443 4, -1, 1, 176, 2, 183, 3, 190, -1,
2444 4, -1, 0, 552, 1, 30, 2, 295, 3, 122, -1,
f3574cc6
DM
2445
2446};
2447
2448
2449/* PL_op_private_bitdef_ix[]: map an op number to a starting position
2450 * in PL_op_private_bitdefs. If -1, the op has no bits defined */
2451
2452EXTCONST I16 PL_op_private_bitdef_ix[] = {
2453 -1, /* null */
2454 -1, /* stub */
2455 0, /* scalar */
2456 1, /* pushmark */
2457 3, /* wantarray */
2458 4, /* const */
2459 9, /* gvsv */
2460 11, /* gv */
2461 12, /* gelem */
2462 13, /* padsv */
2463 16, /* padav */
7be75ccf 2464 21, /* padhv */
f3574cc6 2465 -1, /* padany */
7be75ccf
DM
2466 28, /* rv2gv */
2467 35, /* rv2sv */
2468 40, /* av2arylen */
2469 42, /* rv2cv */
f3574cc6 2470 -1, /* anoncode */
dd6eeb56
FC
2471 0, /* prototype */
2472 0, /* refgen */
2473 0, /* srefgen */
7be75ccf
DM
2474 49, /* ref */
2475 52, /* bless */
2476 53, /* backtick */
2477 52, /* glob */
dd6eeb56 2478 0, /* readline */
f3574cc6 2479 -1, /* rcatline */
dd6eeb56
FC
2480 0, /* regcmaybe */
2481 0, /* regcreset */
2482 0, /* regcomp */
2e2d70f2
DM
2483 -1, /* match */
2484 -1, /* qr */
7b394f12 2485 58, /* subst */
2e2d70f2 2486 0, /* substcont */
7b394f12
DM
2487 59, /* trans */
2488 59, /* transr */
2489 66, /* sassign */
2490 69, /* aassign */
dd6eeb56
FC
2491 0, /* chop */
2492 0, /* schop */
7b394f12
DM
2493 75, /* chomp */
2494 75, /* schomp */
dd6eeb56
FC
2495 0, /* defined */
2496 0, /* undef */
2497 0, /* study */
7b394f12 2498 77, /* pos */
dd6eeb56
FC
2499 0, /* preinc */
2500 0, /* i_preinc */
2501 0, /* predec */
2502 0, /* i_predec */
3baa0581
FC
2503 0, /* postinc */
2504 0, /* i_postinc */
2505 0, /* postdec */
2506 0, /* i_postdec */
7b394f12
DM
2507 80, /* pow */
2508 80, /* multiply */
2509 80, /* i_multiply */
2510 80, /* divide */
2511 80, /* i_divide */
2512 80, /* modulo */
2513 80, /* i_modulo */
2514 82, /* repeat */
2515 80, /* add */
2516 80, /* i_add */
2517 80, /* subtract */
2518 80, /* i_subtract */
d962625f
DM
2519 84, /* concat */
2520 87, /* multiconcat */
2521 93, /* stringify */
7b394f12
DM
2522 80, /* left_shift */
2523 80, /* right_shift */
dd6eeb56
FC
2524 12, /* lt */
2525 12, /* i_lt */
2526 12, /* gt */
2527 12, /* i_gt */
2528 12, /* le */
2529 12, /* i_le */
2530 12, /* ge */
2531 12, /* i_ge */
2532 12, /* eq */
2533 12, /* i_eq */
2534 12, /* ne */
2535 12, /* i_ne */
2536 12, /* ncmp */
21639bf4 2537 12, /* i_ncmp */
dd6eeb56
FC
2538 12, /* slt */
2539 12, /* sgt */
2540 12, /* sle */
2541 12, /* sge */
2542 12, /* seq */
2543 12, /* sne */
21639bf4 2544 12, /* scmp */
dd6eeb56
FC
2545 12, /* bit_and */
2546 12, /* bit_xor */
2547 12, /* bit_or */
7b394f12
DM
2548 80, /* nbit_and */
2549 80, /* nbit_xor */
2550 80, /* nbit_or */
5d01050a
FC
2551 12, /* sbit_and */
2552 12, /* sbit_xor */
2553 12, /* sbit_or */
dd6eeb56 2554 0, /* negate */
a9dec3fe 2555 0, /* i_negate */
dd6eeb56 2556 0, /* not */
21639bf4 2557 0, /* complement */
7b394f12
DM
2558 75, /* ncomplement */
2559 75, /* scomplement */
dd6eeb56 2560 12, /* smartmatch */
d962625f 2561 93, /* atan2 */
7b394f12
DM
2562 75, /* sin */
2563 75, /* cos */
d962625f
DM
2564 93, /* rand */
2565 93, /* srand */
7b394f12
DM
2566 75, /* exp */
2567 75, /* log */
2568 75, /* sqrt */
2569 75, /* int */
2570 75, /* hex */
2571 75, /* oct */
2572 75, /* abs */
d962625f
DM
2573 95, /* length */
2574 98, /* substr */
2575 101, /* vec */
2576 103, /* index */
2577 103, /* rindex */
7be75ccf
DM
2578 52, /* sprintf */
2579 52, /* formline */
7b394f12
DM
2580 75, /* ord */
2581 75, /* chr */
d962625f 2582 93, /* crypt */
dd6eeb56
FC
2583 0, /* ucfirst */
2584 0, /* lcfirst */
2585 0, /* uc */
2586 0, /* lc */
2587 0, /* quotemeta */
d962625f
DM
2588 107, /* rv2av */
2589 114, /* aelemfast */
2590 114, /* aelemfast_lex */
2591 115, /* aelem */
2592 120, /* aslice */
2593 123, /* kvaslice */
dd6eeb56 2594 0, /* aeach */
dd6eeb56 2595 0, /* avalues */
7be75ccf 2596 40, /* akeys */
dd6eeb56 2597 0, /* each */
7be75ccf
DM
2598 40, /* values */
2599 40, /* keys */
d962625f
DM
2600 124, /* delete */
2601 128, /* exists */
2602 130, /* rv2hv */
2603 115, /* helem */
2604 120, /* hslice */
2605 123, /* kvhslice */
2606 138, /* multideref */
7be75ccf
DM
2607 52, /* unpack */
2608 52, /* pack */
d962625f 2609 145, /* split */
7be75ccf 2610 52, /* join */
d962625f 2611 150, /* list */
dd6eeb56 2612 12, /* lslice */
7be75ccf
DM
2613 52, /* anonlist */
2614 52, /* anonhash */
2615 52, /* splice */
d962625f 2616 93, /* push */
dd6eeb56
FC
2617 0, /* pop */
2618 0, /* shift */
d962625f
DM
2619 93, /* unshift */
2620 152, /* sort */
2621 159, /* reverse */
4c9781b4 2622 0, /* grepstart */
d962625f 2623 161, /* grepwhile */
4c9781b4
FC
2624 0, /* mapstart */
2625 0, /* mapwhile */
dd6eeb56 2626 0, /* range */
d962625f
DM
2627 163, /* flip */
2628 163, /* flop */
dd6eeb56
FC
2629 0, /* and */
2630 0, /* or */
2631 12, /* xor */
2632 0, /* dor */
d962625f 2633 165, /* cond_expr */
dd6eeb56
FC
2634 0, /* andassign */
2635 0, /* orassign */
2636 0, /* dorassign */
d962625f
DM
2637 167, /* entersub */
2638 174, /* leavesub */
2639 174, /* leavesublv */
4fa06845 2640 0, /* argcheck */
d962625f 2641 176, /* argelem */
4fa06845 2642 0, /* argdefelem */
d962625f 2643 178, /* caller */
7be75ccf
DM
2644 52, /* warn */
2645 52, /* die */
2646 52, /* reset */
f3574cc6 2647 -1, /* lineseq */
d962625f
DM
2648 180, /* nextstate */
2649 180, /* dbstate */
f3574cc6
DM
2650 -1, /* unstack */
2651 -1, /* enter */
d962625f 2652 181, /* leave */
f3574cc6 2653 -1, /* scope */
d962625f 2654 183, /* enteriter */
7896dde7 2655 187, /* iter */
f3574cc6 2656 -1, /* enterloop */
7896dde7 2657 188, /* leaveloop */
f3574cc6 2658 -1, /* return */
7896dde7
Z
2659 190, /* last */
2660 190, /* next */
2661 190, /* redo */
2662 190, /* dump */
2663 190, /* goto */
7be75ccf 2664 52, /* exit */
f961b1eb 2665 0, /* method */
dd6eeb56 2666 0, /* method_named */
7d6c333c 2667 0, /* method_super */
810bd8b7 2668 0, /* method_redir */
2669 0, /* method_redir_super */
7896dde7
Z
2670 0, /* entergiven */
2671 0, /* leavegiven */
2672 0, /* enterwhen */
2673 0, /* leavewhen */
2674 -1, /* break */
f3574cc6 2675 -1, /* continue */
7896dde7 2676 192, /* open */
7be75ccf
DM
2677 52, /* close */
2678 52, /* pipe_op */
2679 52, /* fileno */
2680 52, /* umask */
2681 52, /* binmode */
2682 52, /* tie */
dd6eeb56
FC
2683 0, /* untie */
2684 0, /* tied */
7be75ccf 2685 52, /* dbmopen */
dd6eeb56 2686 0, /* dbmclose */
7be75ccf
DM
2687 52, /* sselect */
2688 52, /* select */
2689 52, /* getc */
2690 52, /* read */
2691 52, /* enterwrite */
d962625f 2692 174, /* leavewrite */
f3574cc6
DM
2693 -1, /* prtf */
2694 -1, /* print */
2695 -1, /* say */
7be75ccf
DM
2696 52, /* sysopen */
2697 52, /* sysseek */
2698 52, /* sysread */
2699 52, /* syswrite */
2700 52, /* eof */
2701 52, /* tell */
2702 52, /* seek */
2703 52, /* truncate */
2704 52, /* fcntl */
2705 52, /* ioctl */
d962625f 2706 93, /* flock */
7be75ccf
DM
2707 52, /* send */
2708 52, /* recv */
2709 52, /* socket */
2710 52, /* sockpair */
2711 52, /* bind */
2712 52, /* connect */
2713 52, /* listen */
2714 52, /* accept */
2715 52, /* shutdown */
2716 52, /* gsockopt */
2717 52, /* ssockopt */
dd6eeb56
FC
2718 0, /* getsockname */
2719 0, /* getpeername */
2720 0, /* lstat */
2721 0, /* stat */
7896dde7
Z
2722 197, /* ftrread */
2723 197, /* ftrwrite */
2724 197, /* ftrexec */
2725 197, /* fteread */
2726 197, /* ftewrite */
2727 197, /* fteexec */
2728 202, /* ftis */
2729 202, /* ftsize */
2730 202, /* ftmtime */
2731 202, /* ftatime */
2732 202, /* ftctime */
2733 202, /* ftrowned */
2734 202, /* fteowned */
2735 202, /* ftzero */
2736 202, /* ftsock */
2737 202, /* ftchr */
2738 202, /* ftblk */
2739 202, /* ftfile */
2740 202, /* ftdir */
2741 202, /* ftpipe */
2742 202, /* ftsuid */
2743 202, /* ftsgid */
2744 202, /* ftsvtx */
2745 202, /* ftlink */
2746 202, /* fttty */
2747 202, /* fttext */
2748 202, /* ftbinary */
d962625f
DM
2749 93, /* chdir */
2750 93, /* chown */
7b394f12 2751 75, /* chroot */
d962625f
DM
2752 93, /* unlink */
2753 93, /* chmod */
2754 93, /* utime */
2755 93, /* rename */
2756 93, /* link */
2757 93, /* symlink */
dd6eeb56 2758 0, /* readlink */
d962625f 2759 93, /* mkdir */
7b394f12 2760 75, /* rmdir */
7be75ccf 2761 52, /* open_dir */
dd6eeb56
FC
2762 0, /* readdir */
2763 0, /* telldir */
7be75ccf 2764 52, /* seekdir */
dd6eeb56
FC
2765 0, /* rewinddir */
2766 0, /* closedir */
f3574cc6 2767 -1, /* fork */
7896dde7 2768 206, /* wait */
d962625f
DM
2769 93, /* waitpid */
2770 93, /* system */
2771 93, /* exec */
2772 93, /* kill */
7896dde7 2773 206, /* getppid */
d962625f
DM
2774 93, /* getpgrp */
2775 93, /* setpgrp */
2776 93, /* getpriority */
2777 93, /* setpriority */
7896dde7 2778 206, /* time */
f3574cc6 2779 -1, /* tms */
dd6eeb56 2780 0, /* localtime */
7be75ccf 2781 52, /* gmtime */
dd6eeb56 2782 0, /* alarm */
d962625f 2783 93, /* sleep */
7be75ccf
DM
2784 52, /* shmget */
2785 52, /* shmctl */
2786 52, /* shmread */
2787 52, /* shmwrite */
2788 52, /* msgget */
2789 52, /* msgctl */
2790 52, /* msgsnd */
2791 52, /* msgrcv */
2792 52, /* semop */
2793 52, /* semget */
2794 52, /* semctl */
dd6eeb56
FC
2795 0, /* require */
2796 0, /* dofile */
f3574cc6 2797 -1, /* hintseval */
7896dde7 2798 207, /* entereval */
d962625f 2799 174, /* leaveeval */
dd6eeb56 2800 0, /* entertry */
f3574cc6 2801 -1, /* leavetry */
dd6eeb56 2802 0, /* ghbyname */
7be75ccf 2803 52, /* ghbyaddr */
f3574cc6 2804 -1, /* ghostent */
dd6eeb56 2805 0, /* gnbyname */
7be75ccf 2806 52, /* gnbyaddr */
f3574cc6 2807 -1, /* gnetent */
dd6eeb56 2808 0, /* gpbyname */
7be75ccf 2809 52, /* gpbynumber */
f3574cc6 2810 -1, /* gprotoent */
7be75ccf
DM
2811 52, /* gsbyname */
2812 52, /* gsbyport */
f3574cc6 2813 -1, /* gservent */
dd6eeb56
FC
2814 0, /* shostent */
2815 0, /* snetent */
2816 0, /* sprotoent */
2817 0, /* sservent */
f3574cc6
DM
2818 -1, /* ehostent */
2819 -1, /* enetent */
2820 -1, /* eprotoent */
2821 -1, /* eservent */
dd6eeb56
FC
2822 0, /* gpwnam */
2823 0, /* gpwuid */
f3574cc6
DM
2824 -1, /* gpwent */
2825 -1, /* spwent */
2826 -1, /* epwent */
dd6eeb56
FC
2827 0, /* ggrnam */
2828 0, /* ggrgid */
f3574cc6
DM
2829 -1, /* ggrent */
2830 -1, /* sgrent */
2831 -1, /* egrent */
2832 -1, /* getlogin */
7be75ccf 2833 52, /* syscall */
dd6eeb56
FC
2834 0, /* lock */
2835 0, /* once */
f3574cc6 2836 -1, /* custom */
7896dde7
Z
2837 213, /* coreargs */
2838 217, /* avhvswitch */
dd6eeb56
FC
2839 3, /* runcv */
2840 0, /* fc */
f3574cc6
DM
2841 -1, /* padcv */
2842 -1, /* introcv */
2843 -1, /* clonecv */
7896dde7
Z
2844 219, /* padrange */
2845 221, /* refassign */
2846 227, /* lvref */
2847 233, /* lvrefslice */
2848 234, /* lvavref */
b77472f9 2849 0, /* anonconst */
813e85a0 2850 12, /* isa */
02b85d3d
Z
2851 0, /* cmpchain_and */
2852 0, /* cmpchain_dup */
f3574cc6
DM
2853
2854};
2855
2856
2857
2858/* PL_op_private_bitdefs[]: given a starting position in this array (as
2859 * supplied by PL_op_private_bitdef_ix[]), each word (until a stop bit is
2860 * seen) defines the meaning of a particular op_private bit for a
2861 * particular op. Each word consists of:
2862 * bit 0: stop bit: this is the last bit def for the current op
2863 * bit 1: bitfield: if set, this defines a bit field rather than a flag
2864 * bits 2..4: unsigned number in the range 0..7 which is the bit number
2865 * bits 5..15: unsigned number in the range 0..2047 which is an index
2866 * into PL_op_private_labels[] (for a flag), or
2867 * into PL_op_private_bitfields[] (for a bit field)
2868 */
2869
2870EXTCONST U16 PL_op_private_bitdefs[] = {
02b85d3d 2871 0x0003, /* scalar, prototype, refgen, srefgen, readline, regcmaybe, regcreset, regcomp, substcont, chop, schop, defined, undef, study, preinc, i_preinc, predec, i_predec, postinc, i_postinc, postdec, i_postdec, negate, i_negate, not, complement, ucfirst, lcfirst, uc, lc, quotemeta, aeach, avalues, each, pop, shift, grepstart, mapstart, mapwhile, range, and, or, dor, andassign, orassign, dorassign, argcheck, argdefelem, method, method_named, method_super, method_redir, method_redir_super, entergiven, leavegiven, enterwhen, leavewhen, untie, tied, dbmclose, getsockname, getpeername, lstat, stat, readlink, readdir, telldir, rewinddir, closedir, localtime, alarm, require, dofile, entertry, ghbyname, gnbyname, gpbyname, shostent, snetent, sprotoent, sservent, gpwnam, gpwuid, ggrnam, ggrgid, lock, once, fc, anonconst, cmpchain_and, cmpchain_dup */
6507ac83 2872 0x2fdc, 0x41b9, /* pushmark */
dd6eeb56 2873 0x00bd, /* wantarray, runcv */
6507ac83
KW
2874 0x0438, 0x1a50, 0x426c, 0x3d28, 0x3505, /* const */
2875 0x2fdc, 0x3659, /* gvsv */
2876 0x18b5, /* gv */
813e85a0 2877 0x0067, /* gelem, lt, i_lt, gt, i_gt, le, i_le, ge, i_ge, eq, i_eq, ne, i_ne, ncmp, i_ncmp, slt, sgt, sle, sge, seq, sne, scmp, bit_and, bit_xor, bit_or, sbit_and, sbit_xor, sbit_or, smartmatch, lslice, xor, isa */
6507ac83
KW
2878 0x2fdc, 0x41b8, 0x03d7, /* padsv */
2879 0x2fdc, 0x41b8, 0x05b4, 0x30cc, 0x3ea9, /* padav */
2880 0x2fdc, 0x41b8, 0x05b4, 0x0650, 0x30cc, 0x3ea8, 0x2b41, /* padhv */
2881 0x2fdc, 0x1c38, 0x03d6, 0x30cc, 0x3428, 0x4264, 0x0003, /* rv2gv */
2882 0x2fdc, 0x3658, 0x03d6, 0x4264, 0x0003, /* rv2sv */
2883 0x30cc, 0x0003, /* av2arylen, akeys, values, keys */
2884 0x339c, 0x1078, 0x0dd4, 0x014c, 0x4568, 0x4264, 0x0003, /* rv2cv */
2885 0x05b4, 0x0650, 0x0003, /* ref */
cd642408 2886 0x018f, /* bless, glob, sprintf, formline, unpack, pack, join, anonlist, anonhash, splice, warn, die, reset, exit, close, pipe_op, fileno, umask, binmode, tie, dbmopen, sselect, select, getc, read, enterwrite, sysopen, sysseek, sysread, syswrite, eof, tell, seek, truncate, fcntl, ioctl, send, recv, socket, sockpair, bind, connect, listen, accept, shutdown, gsockopt, ssockopt, open_dir, seekdir, gmtime, shmget, shmctl, shmread, shmwrite, msgget, msgctl, msgsnd, msgrcv, semop, semget, semctl, ghbyaddr, gnbyaddr, gpbynumber, gsbyname, gsbyport, syscall */
6507ac83
KW
2887 0x383c, 0x3758, 0x2894, 0x27d0, 0x0003, /* backtick */
2888 0x05b5, /* subst */
2889 0x117c, 0x21b8, 0x09b4, 0x3fec, 0x2548, 0x4884, 0x07c1, /* trans, transr */
2890 0x0fbc, 0x04d8, 0x0067, /* sassign */
2891 0x0c78, 0x0b74, 0x0a70, 0x30cc, 0x05a8, 0x0067, /* aassign */
2892 0x4610, 0x0003, /* chomp, schomp, ncomplement, scomplement, sin, cos, exp, log, sqrt, int, hex, oct, abs, ord, chr, chroot, rmdir */
2893 0x05b4, 0x30cc, 0x0003, /* pos */
2894 0x4610, 0x0067, /* pow, multiply, i_multiply, divide, i_divide, modulo, i_modulo, add, i_add, subtract, i_subtract, left_shift, right_shift, nbit_and, nbit_xor, nbit_or */
2895 0x1538, 0x0067, /* repeat */
2896 0x32b8, 0x4610, 0x0067, /* concat */
2897 0x2fdc, 0x0218, 0x1c34, 0x4610, 0x434c, 0x0003, /* multiconcat */
2898 0x4610, 0x018f, /* stringify, atan2, rand, srand, crypt, push, unshift, flock, chdir, chown, unlink, chmod, utime, rename, link, symlink, mkdir, waitpid, system, exec, kill, getpgrp, setpgrp, getpriority, setpriority, sleep */
2899 0x05b4, 0x4610, 0x0003, /* length */
2900 0x3a90, 0x30cc, 0x012b, /* substr */
2901 0x30cc, 0x0067, /* vec */
2902 0x3238, 0x05b4, 0x4610, 0x018f, /* index, rindex */
2903 0x2fdc, 0x3658, 0x05b4, 0x30cc, 0x3ea8, 0x4264, 0x0003, /* rv2av */
cd642408 2904 0x025f, /* aelemfast, aelemfast_lex */
6507ac83
KW
2905 0x2fdc, 0x2ed8, 0x03d6, 0x30cc, 0x0067, /* aelem, helem */
2906 0x2fdc, 0x30cc, 0x3ea9, /* aslice, hslice */
2907 0x30cd, /* kvaslice, kvhslice */
2908 0x2fdc, 0x3df8, 0x2bf4, 0x0003, /* delete */
2909 0x4498, 0x0003, /* exists */
2910 0x2fdc, 0x3658, 0x05b4, 0x0650, 0x30cc, 0x3ea8, 0x4264, 0x2b41, /* rv2hv */
2911 0x2fdc, 0x2ed8, 0x11f4, 0x1b50, 0x30cc, 0x4264, 0x0003, /* multideref */
2912 0x2fdc, 0x3658, 0x02f0, 0x2cec, 0x2609, /* split */
2913 0x2fdc, 0x2279, /* list */
2914 0x477c, 0x40d8, 0x1490, 0x292c, 0x3b88, 0x2a24, 0x35c1, /* sort */
2915 0x292c, 0x0003, /* reverse */
2916 0x05b4, 0x0003, /* grepwhile */
2917 0x2d78, 0x0003, /* flip, flop */
2918 0x2fdc, 0x0003, /* cond_expr */
2919 0x2fdc, 0x1078, 0x03d6, 0x014c, 0x4568, 0x4264, 0x26e1, /* entersub */
2920 0x38f8, 0x0003, /* leavesub, leavesublv, leavewrite, leaveeval */
4fa06845 2921 0x02aa, 0x0003, /* argelem */
cd642408 2922 0x00bc, 0x018f, /* caller */
6507ac83
KW
2923 0x2455, /* nextstate, dbstate */
2924 0x2e7c, 0x38f9, /* leave */
2925 0x2fdc, 0x3658, 0x10ec, 0x3c05, /* enteriter */
2926 0x3c05, /* iter */
2927 0x2e7c, 0x0067, /* leaveloop */
2928 0x49bc, 0x0003, /* last, next, redo, dump, goto */
2929 0x383c, 0x3758, 0x2894, 0x27d0, 0x018f, /* open */
2930 0x1df0, 0x204c, 0x1f08, 0x1cc4, 0x0003, /* ftrread, ftrwrite, ftrexec, fteread, ftewrite, fteexec */
2931 0x1df0, 0x204c, 0x1f08, 0x0003, /* ftis, ftsize, ftmtime, ftatime, ftctime, ftrowned, fteowned, ftzero, ftsock, ftchr, ftblk, ftfile, ftdir, ftpipe, ftsuid, ftsgid, ftsvtx, ftlink, fttty, fttext, ftbinary */
2932 0x4611, /* wait, getppid, time */
2933 0x3994, 0x0e90, 0x070c, 0x46e8, 0x2364, 0x0003, /* entereval */
2934 0x319c, 0x0018, 0x13a4, 0x12c1, /* coreargs */
2935 0x30cc, 0x00c7, /* avhvswitch */
2936 0x2fdc, 0x01fb, /* padrange */
2937 0x2fdc, 0x41b8, 0x04f6, 0x2aac, 0x19a8, 0x0067, /* refassign */
2938 0x2fdc, 0x41b8, 0x04f6, 0x2aac, 0x19a8, 0x0003, /* lvref */
2939 0x2fdd, /* lvrefslice */
2940 0x2fdc, 0x41b8, 0x0003, /* lvavref */
f3574cc6
DM
2941
2942};
2943
2944
2945/* PL_op_private_valid: for each op, indexed by op_type, indicate which
2946 * flags bits in op_private are legal */
2947
2948EXTCONST U8 PL_op_private_valid[] = {
2949 /* NULL */ (0xff),
2950 /* STUB */ (0),
2951 /* SCALAR */ (OPpARG1_MASK),
2952 /* PUSHMARK */ (OPpPAD_STATE|OPpLVAL_INTRO),
2953 /* WANTARRAY */ (OPpOFFBYONE),
2954 /* CONST */ (OPpCONST_NOVER|OPpCONST_SHORTCIRCUIT|OPpCONST_STRICT|OPpCONST_ENTERED|OPpCONST_BARE),
2955 /* GVSV */ (OPpOUR_INTRO|OPpLVAL_INTRO),
2956 /* GV */ (OPpEARLY_CV),
2957 /* GELEM */ (OPpARG2_MASK),
9e209402 2958 /* PADSV */ (OPpDEREF|OPpPAD_STATE|OPpLVAL_INTRO),
7be75ccf 2959 /* PADAV */ (OPpSLICEWARNING|OPpMAYBE_LVSUB|OPpTRUEBOOL|OPpPAD_STATE|OPpLVAL_INTRO),
748f2c65 2960 /* PADHV */ (OPpPADHV_ISKEYS|OPpSLICEWARNING|OPpMAYBE_LVSUB|OPpMAYBE_TRUEBOOL|OPpTRUEBOOL|OPpPAD_STATE|OPpLVAL_INTRO),
f3574cc6 2961 /* PADANY */ (0),
9e209402
FC
2962 /* RV2GV */ (OPpARG1_MASK|OPpHINT_STRICT_REFS|OPpDONT_INIT_GV|OPpMAYBE_LVSUB|OPpDEREF|OPpALLOW_FAKE|OPpLVAL_INTRO),
2963 /* RV2SV */ (OPpARG1_MASK|OPpHINT_STRICT_REFS|OPpDEREF|OPpOUR_INTRO|OPpLVAL_INTRO),
f3574cc6 2964 /* AV2ARYLEN */ (OPpARG1_MASK|OPpMAYBE_LVSUB),
9e209402 2965 /* RV2CV */ (OPpARG1_MASK|OPpHINT_STRICT_REFS|OPpENTERSUB_HASTARG|OPpENTERSUB_AMPER|OPpMAY_RETURN_CONSTANT|OPpENTERSUB_DB|OPpENTERSUB_NOPAREN),
f3574cc6
DM
2966 /* ANONCODE */ (0),
2967 /* PROTOTYPE */ (OPpARG1_MASK),
2968 /* REFGEN */ (OPpARG1_MASK),
2969 /* SREFGEN */ (OPpARG1_MASK),
ba75e9a4 2970 /* REF */ (OPpARG1_MASK|OPpMAYBE_TRUEBOOL|OPpTRUEBOOL),
f3574cc6
DM
2971 /* BLESS */ (OPpARG4_MASK),
2972 /* BACKTICK */ (OPpARG1_MASK|OPpOPEN_IN_RAW|OPpOPEN_IN_CRLF|OPpOPEN_OUT_RAW|OPpOPEN_OUT_CRLF),
2973 /* GLOB */ (OPpARG4_MASK),
2974 /* READLINE */ (OPpARG1_MASK),
2975 /* RCATLINE */ (0),
2976 /* REGCMAYBE */ (OPpARG1_MASK),
2977 /* REGCRESET */ (OPpARG1_MASK),
2978 /* REGCOMP */ (OPpARG1_MASK),
2e2d70f2
DM
2979 /* MATCH */ (0),
2980 /* QR */ (0),
7b394f12 2981 /* SUBST */ (OPpTRUEBOOL),
2e2d70f2 2982 /* SUBSTCONT */ (OPpARG1_MASK),
6507ac83
KW
2983 /* TRANS */ (OPpTRANS_CAN_FORCE_UTF8|OPpTRANS_USE_SVOP|OPpTRANS_IDENTICAL|OPpTRANS_SQUASH|OPpTRANS_COMPLEMENT|OPpTRANS_GROWS|OPpTRANS_DELETE),
2984 /* TRANSR */ (OPpTRANS_CAN_FORCE_UTF8|OPpTRANS_USE_SVOP|OPpTRANS_IDENTICAL|OPpTRANS_SQUASH|OPpTRANS_COMPLEMENT|OPpTRANS_GROWS|OPpTRANS_DELETE),
f3574cc6 2985 /* SASSIGN */ (OPpARG2_MASK|OPpASSIGN_BACKWARDS|OPpASSIGN_CV_TO_GV),
7b394f12 2986 /* AASSIGN */ (OPpARG2_MASK|OPpASSIGN_TRUEBOOL|OPpMAYBE_LVSUB|OPpASSIGN_COMMON_AGG|OPpASSIGN_COMMON_RC1|OPpASSIGN_COMMON_SCALAR),
f3574cc6
DM
2987 /* CHOP */ (OPpARG1_MASK),
2988 /* SCHOP */ (OPpARG1_MASK),
2989 /* CHOMP */ (OPpARG1_MASK|OPpTARGET_MY),
2990 /* SCHOMP */ (OPpARG1_MASK|OPpTARGET_MY),
2991 /* DEFINED */ (OPpARG1_MASK),
2992 /* UNDEF */ (OPpARG1_MASK),
2993 /* STUDY */ (OPpARG1_MASK),
7b394f12 2994 /* POS */ (OPpARG1_MASK|OPpMAYBE_LVSUB|OPpTRUEBOOL),
f3574cc6
DM
2995 /* PREINC */ (OPpARG1_MASK),
2996 /* I_PREINC */ (OPpARG1_MASK),
2997 /* PREDEC */ (OPpARG1_MASK),
2998 /* I_PREDEC */ (OPpARG1_MASK),
3baa0581
FC
2999 /* POSTINC */ (OPpARG1_MASK),
3000 /* I_POSTINC */ (OPpARG1_MASK),
3001 /* POSTDEC */ (OPpARG1_MASK),
3002 /* I_POSTDEC */ (OPpARG1_MASK),
f3574cc6
DM
3003 /* POW */ (OPpARG2_MASK|OPpTARGET_MY),
3004 /* MULTIPLY */ (OPpARG2_MASK|OPpTARGET_MY),
3005 /* I_MULTIPLY */ (OPpARG2_MASK|OPpTARGET_MY),
3006 /* DIVIDE */ (OPpARG2_MASK|OPpTARGET_MY),
3007 /* I_DIVIDE */ (OPpARG2_MASK|OPpTARGET_MY),
3008 /* MODULO */ (OPpARG2_MASK|OPpTARGET_MY),
3009 /* I_MODULO */ (OPpARG2_MASK|OPpTARGET_MY),
21639bf4 3010 /* REPEAT */ (OPpARG2_MASK|OPpREPEAT_DOLIST),
f3574cc6
DM
3011 /* ADD */ (OPpARG2_MASK|OPpTARGET_MY),
3012 /* I_ADD */ (OPpARG2_MASK|OPpTARGET_MY),
3013 /* SUBTRACT */ (OPpARG2_MASK|OPpTARGET_MY),
3014 /* I_SUBTRACT */ (OPpARG2_MASK|OPpTARGET_MY),
d962625f 3015 /* CONCAT */ (OPpARG2_MASK|OPpTARGET_MY|OPpCONCAT_NESTED),
e839e6ed 3016 /* MULTICONCAT */ (OPpARG1_MASK|OPpMULTICONCAT_STRINGIFY|OPpTARGET_MY|OPpMULTICONCAT_FAKE|OPpMULTICONCAT_APPEND|OPpLVAL_INTRO),
f3574cc6
DM
3017 /* STRINGIFY */ (OPpARG4_MASK|OPpTARGET_MY),
3018 /* LEFT_SHIFT */ (OPpARG2_MASK|OPpTARGET_MY),
3019 /* RIGHT_SHIFT */ (OPpARG2_MASK|OPpTARGET_MY),
3020 /* LT */ (OPpARG2_MASK),
3021 /* I_LT */ (OPpARG2_MASK),
3022 /* GT */ (OPpARG2_MASK),
3023 /* I_GT */ (OPpARG2_MASK),
3024 /* LE */ (OPpARG2_MASK),
3025 /* I_LE */ (OPpARG2_MASK),
3026 /* GE */ (OPpARG2_MASK),
3027 /* I_GE */ (OPpARG2_MASK),
3028 /* EQ */ (OPpARG2_MASK),
3029 /* I_EQ */ (OPpARG2_MASK),
3030 /* NE */ (OPpARG2_MASK),
3031 /* I_NE */ (OPpARG2_MASK),
3032 /* NCMP */ (OPpARG2_MASK),
21639bf4 3033 /* I_NCMP */ (OPpARG2_MASK),
f3574cc6
DM
3034 /* SLT */ (OPpARG2_MASK),
3035 /* SGT */ (OPpARG2_MASK),
3036 /* SLE */ (OPpARG2_MASK),
3037 /* SGE */ (OPpARG2_MASK),
3038 /* SEQ */ (OPpARG2_MASK),
3039 /* SNE */ (OPpARG2_MASK),
21639bf4 3040 /* SCMP */ (OPpARG2_MASK),
f3574cc6
DM
3041 /* BIT_AND */ (OPpARG2_MASK),
3042 /* BIT_XOR */ (OPpARG2_MASK),
3043 /* BIT_OR */ (OPpARG2_MASK),
5d01050a
FC
3044 /* NBIT_AND */ (OPpARG2_MASK|OPpTARGET_MY),
3045 /* NBIT_XOR */ (OPpARG2_MASK|OPpTARGET_MY),
3046 /* NBIT_OR */ (OPpARG2_MASK|OPpTARGET_MY),
3047 /* SBIT_AND */ (OPpARG2_MASK),
3048 /* SBIT_XOR */ (OPpARG2_MASK),
3049 /* SBIT_OR */ (OPpARG2_MASK),
f3574cc6 3050 /* NEGATE */ (OPpARG1_MASK),
a9dec3fe 3051 /* I_NEGATE */ (OPpARG1_MASK),
f3574cc6 3052 /* NOT */ (OPpARG1_MASK),
21639bf4 3053 /* COMPLEMENT */ (OPpARG1_MASK),
5d01050a
FC
3054 /* NCOMPLEMENT */ (OPpARG1_MASK|OPpTARGET_MY),
3055 /* SCOMPLEMENT */ (OPpARG1_MASK|OPpTARGET_MY),
f3574cc6
DM
3056 /* SMARTMATCH */ (OPpARG2_MASK),
3057 /* ATAN2 */ (OPpARG4_MASK|OPpTARGET_MY),
3058 /* SIN */ (OPpARG1_MASK|OPpTARGET_MY),
3059 /* COS */ (OPpARG1_MASK|OPpTARGET_MY),
3060 /* RAND */ (OPpARG4_MASK|OPpTARGET_MY),
3061 /* SRAND */ (OPpARG4_MASK|OPpTARGET_MY),
3062 /* EXP */ (OPpARG1_MASK|OPpTARGET_MY),
3063 /* LOG */ (OPpARG1_MASK|OPpTARGET_MY),
3064 /* SQRT */ (OPpARG1_MASK|OPpTARGET_MY),
3065 /* INT */ (OPpARG1_MASK|OPpTARGET_MY),
3066 /* HEX */ (OPpARG1_MASK|OPpTARGET_MY),
3067 /* OCT */ (OPpARG1_MASK|OPpTARGET_MY),
3068 /* ABS */ (OPpARG1_MASK|OPpTARGET_MY),
7b394f12 3069 /* LENGTH */ (OPpARG1_MASK|OPpTARGET_MY|OPpTRUEBOOL),
4e0538d9 3070 /* SUBSTR */ (OPpARG3_MASK|OPpMAYBE_LVSUB|OPpSUBSTR_REPL_FIRST),
21639bf4 3071 /* VEC */ (OPpARG2_MASK|OPpMAYBE_LVSUB),
7e8d786b
DM
3072 /* INDEX */ (OPpARG4_MASK|OPpTARGET_MY|OPpTRUEBOOL|OPpINDEX_BOOLNEG),
3073 /* RINDEX */ (OPpARG4_MASK|OPpTARGET_MY|OPpTRUEBOOL|OPpINDEX_BOOLNEG),
f3574cc6
DM
3074 /* SPRINTF */ (OPpARG4_MASK),
3075 /* FORMLINE */ (OPpARG4_MASK),
3076 /* ORD */ (OPpARG1_MASK|OPpTARGET_MY),
3077 /* CHR */ (OPpARG1_MASK|OPpTARGET_MY),
3078 /* CRYPT */ (OPpARG4_MASK|OPpTARGET_MY),
3079 /* UCFIRST */ (OPpARG1_MASK),
3080 /* LCFIRST */ (OPpARG1_MASK),
3081 /* UC */ (OPpARG1_MASK),
3082 /* LC */ (OPpARG1_MASK),
3083 /* QUOTEMETA */ (OPpARG1_MASK),
7be75ccf 3084 /* RV2AV */ (OPpARG1_MASK|OPpHINT_STRICT_REFS|OPpSLICEWARNING|OPpMAYBE_LVSUB|OPpTRUEBOOL|OPpOUR_INTRO|OPpLVAL_INTRO),
f3574cc6
DM
3085 /* AELEMFAST */ (255),
3086 /* AELEMFAST_LEX */ (255),
9e209402 3087 /* AELEM */ (OPpARG2_MASK|OPpMAYBE_LVSUB|OPpDEREF|OPpLVAL_DEFER|OPpLVAL_INTRO),
f3574cc6
DM
3088 /* ASLICE */ (OPpSLICEWARNING|OPpMAYBE_LVSUB|OPpLVAL_INTRO),
3089 /* KVASLICE */ (OPpMAYBE_LVSUB),
3090 /* AEACH */ (OPpARG1_MASK),
f3574cc6 3091 /* AVALUES */ (OPpARG1_MASK),
d88ca568 3092 /* AKEYS */ (OPpARG1_MASK|OPpMAYBE_LVSUB),
f3574cc6 3093 /* EACH */ (OPpARG1_MASK),
4fa080db 3094 /* VALUES */ (OPpARG1_MASK|OPpMAYBE_LVSUB),
f3574cc6 3095 /* KEYS */ (OPpARG1_MASK|OPpMAYBE_LVSUB),
cc0776d6 3096 /* DELETE */ (OPpARG1_MASK|OPpKVSLICE|OPpSLICE|OPpLVAL_INTRO),
f3574cc6 3097 /* EXISTS */ (OPpARG1_MASK|OPpEXISTS_SUB),
748f2c65 3098 /* RV2HV */ (OPpRV2HV_ISKEYS|OPpHINT_STRICT_REFS|OPpSLICEWARNING|OPpMAYBE_LVSUB|OPpMAYBE_TRUEBOOL|OPpTRUEBOOL|OPpOUR_INTRO|OPpLVAL_INTRO),
9e209402 3099 /* HELEM */ (OPpARG2_MASK|OPpMAYBE_LVSUB|OPpDEREF|OPpLVAL_DEFER|OPpLVAL_INTRO),
f3574cc6
DM
3100 /* HSLICE */ (OPpSLICEWARNING|OPpMAYBE_LVSUB|OPpLVAL_INTRO),
3101 /* KVHSLICE */ (OPpMAYBE_LVSUB),
fedf30e1 3102 /* MULTIDEREF */ (OPpARG1_MASK|OPpHINT_STRICT_REFS|OPpMAYBE_LVSUB|OPpMULTIDEREF_EXISTS|OPpMULTIDEREF_DELETE|OPpLVAL_DEFER|OPpLVAL_INTRO),
f3574cc6
DM
3103 /* UNPACK */ (OPpARG4_MASK),
3104 /* PACK */ (OPpARG4_MASK),
2e2d70f2 3105 /* SPLIT */ (OPpSPLIT_IMPLIM|OPpSPLIT_LEX|OPpSPLIT_ASSIGN|OPpOUR_INTRO|OPpLVAL_INTRO),
f3574cc6
DM
3106 /* JOIN */ (OPpARG4_MASK),
3107 /* LIST */ (OPpLIST_GUESSED|OPpLVAL_INTRO),
3108 /* LSLICE */ (OPpARG2_MASK),
3109 /* ANONLIST */ (OPpARG4_MASK),
3110 /* ANONHASH */ (OPpARG4_MASK),
3111 /* SPLICE */ (OPpARG4_MASK),
3112 /* PUSH */ (OPpARG4_MASK|OPpTARGET_MY),
3113 /* POP */ (OPpARG1_MASK),
3114 /* SHIFT */ (OPpARG1_MASK),
3115 /* UNSHIFT */ (OPpARG4_MASK|OPpTARGET_MY),
e2091bb6 3116 /* SORT */ (OPpSORT_NUMERIC|OPpSORT_INTEGER|OPpSORT_REVERSE|OPpSORT_INPLACE|OPpSORT_DESCEND|OPpSORT_STABLE|OPpSORT_UNSTABLE),
f3574cc6 3117 /* REVERSE */ (OPpARG1_MASK|OPpREVERSE_INPLACE),
4c9781b4 3118 /* GREPSTART */ (OPpARG1_MASK),
7b394f12 3119 /* GREPWHILE */ (OPpARG1_MASK|OPpTRUEBOOL),
4c9781b4
FC
3120 /* MAPSTART */ (OPpARG1_MASK),
3121 /* MAPWHILE */ (OPpARG1_MASK),
f3574cc6
DM
3122 /* RANGE */ (OPpARG1_MASK),
3123 /* FLIP */ (OPpARG1_MASK|OPpFLIP_LINENUM),
3124 /* FLOP */ (OPpARG1_MASK|OPpFLIP_LINENUM),
3125 /* AND */ (OPpARG1_MASK),
3126 /* OR */ (OPpARG1_MASK),
3127 /* XOR */ (OPpARG2_MASK),
3128 /* DOR */ (OPpARG1_MASK),
3129 /* COND_EXPR */ (OPpARG1_MASK|OPpLVAL_INTRO),
3130 /* ANDASSIGN */ (OPpARG1_MASK),
3131 /* ORASSIGN */ (OPpARG1_MASK),
3132 /* DORASSIGN */ (OPpARG1_MASK),
9e209402 3133 /* ENTERSUB */ (OPpENTERSUB_INARGS|OPpHINT_STRICT_REFS|OPpENTERSUB_HASTARG|OPpENTERSUB_AMPER|OPpDEREF|OPpENTERSUB_DB|OPpLVAL_INTRO),
f3574cc6
DM
3134 /* LEAVESUB */ (OPpARG1_MASK|OPpREFCOUNTED),
3135 /* LEAVESUBLV */ (OPpARG1_MASK|OPpREFCOUNTED),
4fa06845
DM
3136 /* ARGCHECK */ (OPpARG1_MASK),
3137 /* ARGELEM */ (OPpARG1_MASK|OPpARGELEM_MASK),
3138 /* ARGDEFELEM */ (OPpARG1_MASK),
f3574cc6
DM
3139 /* CALLER */ (OPpARG4_MASK|OPpOFFBYONE),
3140 /* WARN */ (OPpARG4_MASK),
3141 /* DIE */ (OPpARG4_MASK),
3142 /* RESET */ (OPpARG4_MASK),
3143 /* LINESEQ */ (0),
15da1ccf
FC
3144 /* NEXTSTATE */ (OPpHUSH_VMSISH),
3145 /* DBSTATE */ (OPpHUSH_VMSISH),
f3574cc6
DM
3146 /* UNSTACK */ (0),
3147 /* ENTER */ (0),
3148 /* LEAVE */ (OPpREFCOUNTED|OPpLVALUE),
3149 /* SCOPE */ (0),
7896dde7 3150 /* ENTERITER */ (OPpITER_REVERSED|OPpITER_DEF|OPpOUR_INTRO|OPpLVAL_INTRO),
f3574cc6
DM
3151 /* ITER */ (OPpITER_REVERSED),
3152 /* ENTERLOOP */ (0),
3153 /* LEAVELOOP */ (OPpARG2_MASK|OPpLVALUE),
3154 /* RETURN */ (0),
3155 /* LAST */ (OPpARG1_MASK|OPpPV_IS_UTF8),
3156 /* NEXT */ (OPpARG1_MASK|OPpPV_IS_UTF8),
3157 /* REDO */ (OPpARG1_MASK|OPpPV_IS_UTF8),
3158 /* DUMP */ (OPpARG1_MASK|OPpPV_IS_UTF8),
3159 /* GOTO */ (OPpARG1_MASK|OPpPV_IS_UTF8),
3160 /* EXIT */ (OPpARG4_MASK),
f961b1eb 3161 /* METHOD */ (OPpARG1_MASK),
b46e009d 3162 /* METHOD_NAMED */ (OPpARG1_MASK),
7d6c333c 3163 /* METHOD_SUPER */ (OPpARG1_MASK),
810bd8b7 3164 /* METHOD_REDIR */ (OPpARG1_MASK),
3165 /* METHOD_REDIR_SUPER */ (OPpARG1_MASK),
7896dde7
Z
3166 /* ENTERGIVEN */ (OPpARG1_MASK),
3167 /* LEAVEGIVEN */ (OPpARG1_MASK),
3168 /* ENTERWHEN */ (OPpARG1_MASK),
3169 /* LEAVEWHEN */ (OPpARG1_MASK),
3170 /* BREAK */ (0),
f3574cc6
DM
3171 /* CONTINUE */ (0),
3172 /* OPEN */ (OPpARG4_MASK|OPpOPEN_IN_RAW|OPpOPEN_IN_CRLF|OPpOPEN_OUT_RAW|OPpOPEN_OUT_CRLF),
3173 /* CLOSE */ (OPpARG4_MASK),
3174 /* PIPE_OP */ (OPpARG4_MASK),
3175 /* FILENO */ (OPpARG4_MASK),
3176 /* UMASK */ (OPpARG4_MASK),
3177 /* BINMODE */ (OPpARG4_MASK),
3178 /* TIE */ (OPpARG4_MASK),
3179 /* UNTIE */ (OPpARG1_MASK),
3180 /* TIED */ (OPpARG1_MASK),
3181 /* DBMOPEN */ (OPpARG4_MASK),
3182 /* DBMCLOSE */ (OPpARG1_MASK),
3183 /* SSELECT */ (OPpARG4_MASK),
3184 /* SELECT */ (OPpARG4_MASK),
3185 /* GETC */ (OPpARG4_MASK),
3186 /* READ */ (OPpARG4_MASK),
3187 /* ENTERWRITE */ (OPpARG4_MASK),
3188 /* LEAVEWRITE */ (OPpARG1_MASK|OPpREFCOUNTED),
3189 /* PRTF */ (0),
3190 /* PRINT */ (0),
3191 /* SAY */ (0),
3192 /* SYSOPEN */ (OPpARG4_MASK),
3193 /* SYSSEEK */ (OPpARG4_MASK),
3194 /* SYSREAD */ (OPpARG4_MASK),
3195 /* SYSWRITE */ (OPpARG4_MASK),
3196 /* EOF */ (OPpARG4_MASK),
3197 /* TELL */ (OPpARG4_MASK),
3198 /* SEEK */ (OPpARG4_MASK),
3199 /* TRUNCATE */ (OPpARG4_MASK),
3200 /* FCNTL */ (OPpARG4_MASK),
3201 /* IOCTL */ (OPpARG4_MASK),
3202 /* FLOCK */ (OPpARG4_MASK|OPpTARGET_MY),
3203 /* SEND */ (OPpARG4_MASK),
3204 /* RECV */ (OPpARG4_MASK),
3205 /* SOCKET */ (OPpARG4_MASK),
3206 /* SOCKPAIR */ (OPpARG4_MASK),
3207 /* BIND */ (OPpARG4_MASK),
3208 /* CONNECT */ (OPpARG4_MASK),
3209 /* LISTEN */ (OPpARG4_MASK),
3210 /* ACCEPT */ (OPpARG4_MASK),
3211 /* SHUTDOWN */ (OPpARG4_MASK),
3212 /* GSOCKOPT */ (OPpARG4_MASK),
3213 /* SSOCKOPT */ (OPpARG4_MASK),
3214 /* GETSOCKNAME */ (OPpARG1_MASK),
3215 /* GETPEERNAME */ (OPpARG1_MASK),
3216 /* LSTAT */ (OPpARG1_MASK),
3217 /* STAT */ (OPpARG1_MASK),
3218 /* FTRREAD */ (OPpARG1_MASK|OPpFT_ACCESS|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3219 /* FTRWRITE */ (OPpARG1_MASK|OPpFT_ACCESS|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3220 /* FTREXEC */ (OPpARG1_MASK|OPpFT_ACCESS|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3221 /* FTEREAD */ (OPpARG1_MASK|OPpFT_ACCESS|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3222 /* FTEWRITE */ (OPpARG1_MASK|OPpFT_ACCESS|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3223 /* FTEEXEC */ (OPpARG1_MASK|OPpFT_ACCESS|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3224 /* FTIS */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3225 /* FTSIZE */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3226 /* FTMTIME */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3227 /* FTATIME */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3228 /* FTCTIME */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3229 /* FTROWNED */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3230 /* FTEOWNED */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3231 /* FTZERO */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3232 /* FTSOCK */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3233 /* FTCHR */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3234 /* FTBLK */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3235 /* FTFILE */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3236 /* FTDIR */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3237 /* FTPIPE */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3238 /* FTSUID */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3239 /* FTSGID */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3240 /* FTSVTX */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3241 /* FTLINK */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3242 /* FTTTY */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3243 /* FTTEXT */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3244 /* FTBINARY */ (OPpARG1_MASK|OPpFT_STACKED|OPpFT_STACKING|OPpFT_AFTER_t),
3245 /* CHDIR */ (OPpARG4_MASK|OPpTARGET_MY),
3246 /* CHOWN */ (OPpARG4_MASK|OPpTARGET_MY),
3247 /* CHROOT */ (OPpARG1_MASK|OPpTARGET_MY),
3248 /* UNLINK */ (OPpARG4_MASK|OPpTARGET_MY),
3249 /* CHMOD */ (OPpARG4_MASK|OPpTARGET_MY),
3250 /* UTIME */ (OPpARG4_MASK|OPpTARGET_MY),
3251 /* RENAME */ (OPpARG4_MASK|OPpTARGET_MY),
3252 /* LINK */ (OPpARG4_MASK|OPpTARGET_MY),
3253 /* SYMLINK */ (OPpARG4_MASK|OPpTARGET_MY),
3254 /* READLINK */ (OPpARG1_MASK),
3255 /* MKDIR */ (OPpARG4_MASK|OPpTARGET_MY),
3256 /* RMDIR */ (OPpARG1_MASK|OPpTARGET_MY),
3257 /* OPEN_DIR */ (OPpARG4_MASK),
3258 /* READDIR */ (OPpARG1_MASK),
3259 /* TELLDIR */ (OPpARG1_MASK),
3260 /* SEEKDIR */ (OPpARG4_MASK),
3261 /* REWINDDIR */ (OPpARG1_MASK),
3262 /* CLOSEDIR */ (OPpARG1_MASK),
3263 /* FORK */ (0),
3264 /* WAIT */ (OPpTARGET_MY),
3265 /* WAITPID */ (OPpARG4_MASK|OPpTARGET_MY),
3266 /* SYSTEM */ (OPpARG4_MASK|OPpTARGET_MY),
3267 /* EXEC */ (OPpARG4_MASK|OPpTARGET_MY),
3268 /* KILL */ (OPpARG4_MASK|OPpTARGET_MY),
3269 /* GETPPID */ (OPpTARGET_MY),
3270 /* GETPGRP */ (OPpARG4_MASK|OPpTARGET_MY),
3271 /* SETPGRP */ (OPpARG4_MASK|OPpTARGET_MY),
3272 /* GETPRIORITY */ (OPpARG4_MASK|OPpTARGET_MY),
3273 /* SETPRIORITY */ (OPpARG4_MASK|OPpTARGET_MY),
3274 /* TIME */ (OPpTARGET_MY),
3275 /* TMS */ (0),
3276 /* LOCALTIME */ (OPpARG1_MASK),
3277 /* GMTIME */ (OPpARG4_MASK),
3278 /* ALARM */ (OPpARG1_MASK),
3279 /* SLEEP */ (OPpARG4_MASK|OPpTARGET_MY),
3280 /* SHMGET */ (OPpARG4_MASK),
3281 /* SHMCTL */ (OPpARG4_MASK),
3282 /* SHMREAD */ (OPpARG4_MASK),
3283 /* SHMWRITE */ (OPpARG4_MASK),
3284 /* MSGGET */ (OPpARG4_MASK),
3285 /* MSGCTL */ (OPpARG4_MASK),
3286 /* MSGSND */ (OPpARG4_MASK),
3287 /* MSGRCV */ (OPpARG4_MASK),
3288 /* SEMOP */ (OPpARG4_MASK),
3289 /* SEMGET */ (OPpARG4_MASK),
3290 /* SEMCTL */ (OPpARG4_MASK),
3291 /* REQUIRE */ (OPpARG1_MASK),
3292 /* DOFILE */ (OPpARG1_MASK),
3293 /* HINTSEVAL */ (0),
3294 /* ENTEREVAL */ (OPpARG1_MASK|OPpEVAL_HAS_HH|OPpEVAL_UNICODE|OPpEVAL_BYTES|OPpEVAL_COPHH|OPpEVAL_RE_REPARSING),
3295 /* LEAVEEVAL */ (OPpARG1_MASK|OPpREFCOUNTED),
3296 /* ENTERTRY */ (OPpARG1_MASK),
3297 /* LEAVETRY */ (0),
3298 /* GHBYNAME */ (OPpARG1_MASK),
3299 /* GHBYADDR */ (OPpARG4_MASK),
3300 /* GHOSTENT */ (0),
3301 /* GNBYNAME */ (OPpARG1_MASK),
3302 /* GNBYADDR */ (OPpARG4_MASK),
3303 /* GNETENT */ (0),
3304 /* GPBYNAME */ (OPpARG1_MASK),
3305 /* GPBYNUMBER */ (OPpARG4_MASK),
3306 /* GPROTOENT */ (0),
3307 /* GSBYNAME */ (OPpARG4_MASK),
3308 /* GSBYPORT */ (OPpARG4_MASK),
3309 /* GSERVENT */ (0),
3310 /* SHOSTENT */ (OPpARG1_MASK),
3311 /* SNETENT */ (OPpARG1_MASK),
3312 /* SPROTOENT */ (OPpARG1_MASK),
3313 /* SSERVENT */ (OPpARG1_MASK),
3314 /* EHOSTENT */ (0),
3315 /* ENETENT */ (0),
3316 /* EPROTOENT */ (0),
3317 /* ESERVENT */ (0),
3318 /* GPWNAM */ (OPpARG1_MASK),
3319 /* GPWUID */ (OPpARG1_MASK),
3320 /* GPWENT */ (0),
3321 /* SPWENT */ (0),
3322 /* EPWENT */ (0),
3323 /* GGRNAM */ (OPpARG1_MASK),
3324 /* GGRGID */ (OPpARG1_MASK),
3325 /* GGRENT */ (0),
3326 /* SGRENT */ (0),
3327 /* EGRENT */ (0),
3328 /* GETLOGIN */ (0),
3329 /* SYSCALL */ (OPpARG4_MASK),
3330 /* LOCK */ (OPpARG1_MASK),
3331 /* ONCE */ (OPpARG1_MASK),
3332 /* CUSTOM */ (0xff),
f3574cc6 3333 /* COREARGS */ (OPpCOREARGS_DEREF1|OPpCOREARGS_DEREF2|OPpCOREARGS_SCALARMOD|OPpCOREARGS_PUSHMARK),
e1e26374 3334 /* AVHVSWITCH */ (OPpAVHVSWITCH_MASK|OPpMAYBE_LVSUB),
f3574cc6
DM
3335 /* RUNCV */ (OPpOFFBYONE),
3336 /* FC */ (OPpARG1_MASK),
3337 /* PADCV */ (0),
3338 /* INTROCV */ (0),
3339 /* CLONECV */ (0),
3340 /* PADRANGE */ (OPpPADRANGE_COUNTMASK|OPpLVAL_INTRO),
9e209402
FC
3341 /* REFASSIGN */ (OPpARG2_MASK|OPpLVREF_ELEM|OPpLVREF_ITER|OPpLVREF_TYPE|OPpPAD_STATE|OPpLVAL_INTRO),
3342 /* LVREF */ (OPpARG1_MASK|OPpLVREF_ELEM|OPpLVREF_ITER|OPpLVREF_TYPE|OPpPAD_STATE|OPpLVAL_INTRO),
838b9de4 3343 /* LVREFSLICE */ (OPpLVAL_INTRO),
4cb21796 3344 /* LVAVREF */ (OPpARG1_MASK|OPpPAD_STATE|OPpLVAL_INTRO),
b77472f9 3345 /* ANONCONST */ (OPpARG1_MASK),
813e85a0 3346 /* ISA */ (OPpARG2_MASK),
02b85d3d
Z
3347 /* CMPCHAIN_AND */ (OPpARG1_MASK),
3348 /* CMPCHAIN_DUP */ (OPpARG1_MASK),
f3574cc6
DM
3349
3350};
3351
8c3a0f6c 3352#endif /* !DOINIT */
f3574cc6
DM
3353
3354END_EXTERN_C
3355
3356
3357
37442d52 3358/* ex: set ro: */