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