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