1 /* -*- buffer-read-only: t -*-
5 * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
6 * 2008 by Larry Wall and others
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.
11 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
12 * This file is built by regen/opcode.pl from its data.
13 * Any changes made here will be lost!
123 OP_NCOMPLEMENT = 106,
124 OP_SCOMPLEMENT = 107,
155 OP_AELEMFAST_LEX = 138,
156 OP_AELEMFASTLEX_STORE = 139,
232 OP_METHOD_NAMED = 215,
233 OP_METHOD_SUPER = 216,
234 OP_METHOD_REDIR = 217,
235 OP_METHOD_REDIR_SUPER = 218,
284 OP_GETSOCKNAME = 267,
285 OP_GETPEERNAME = 268,
342 OP_GETPRIORITY = 325,
343 OP_SETPRIORITY = 326,
417 OP_CMPCHAIN_AND = 400,
418 OP_CMPCHAIN_DUP = 401,
419 OP_ENTERTRYCATCH = 402,
420 OP_LEAVETRYCATCH = 403,
438 #define OP_FREED MAXO
440 /* the OP_IS_* macros are optimized to a simple range check because
441 all the member OPs are contiguous in regen/opcodes table.
442 opcode.pl verifies the range contiguity, or generates an OR-equals
445 #define OP_IS_SOCKET(op) \
446 ((op) >= OP_SEND && (op) <= OP_GETPEERNAME)
448 #define OP_IS_FILETEST(op) \
449 ((op) >= OP_FTRREAD && (op) <= OP_FTBINARY)
451 #define OP_IS_FILETEST_ACCESS(op) \
452 ((op) >= OP_FTRREAD && (op) <= OP_FTEEXEC)
454 #define OP_IS_NUMCOMPARE(op) \
455 ((op) >= OP_LT && (op) <= OP_I_NCMP)
457 #define OP_IS_DIRHOP(op) \
458 ((op) >= OP_READDIR && (op) <= OP_CLOSEDIR)
460 #define OP_IS_INFIX_BIT(op) \
461 ((op) >= OP_BIT_AND && (op) <= OP_SBIT_OR)