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