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