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,
231 OP_METHOD_NAMED = 214,
232 OP_METHOD_SUPER = 215,
233 OP_METHOD_REDIR = 216,
234 OP_METHOD_REDIR_SUPER = 217,
283 OP_GETSOCKNAME = 266,
284 OP_GETPEERNAME = 267,
341 OP_GETPRIORITY = 324,
342 OP_SETPRIORITY = 325,
416 OP_CMPCHAIN_AND = 399,
417 OP_CMPCHAIN_DUP = 400,
418 OP_ENTERTRYCATCH = 401,
419 OP_LEAVETRYCATCH = 402,
437 #define OP_FREED MAXO
439 /* the OP_IS_* macros are optimized to a simple range check because
440 all the member OPs are contiguous in regen/opcodes table.
441 opcode.pl verifies the range contiguity, or generates an OR-equals
444 #define OP_IS_SOCKET(op) \
445 ((op) >= OP_SEND && (op) <= OP_GETPEERNAME)
447 #define OP_IS_FILETEST(op) \
448 ((op) >= OP_FTRREAD && (op) <= OP_FTBINARY)
450 #define OP_IS_FILETEST_ACCESS(op) \
451 ((op) >= OP_FTRREAD && (op) <= OP_FTEEXEC)
453 #define OP_IS_NUMCOMPARE(op) \
454 ((op) >= OP_LT && (op) <= OP_I_NCMP)
456 #define OP_IS_DIRHOP(op) \
457 ((op) >= OP_READDIR && (op) <= OP_CLOSEDIR)
459 #define OP_IS_INFIX_BIT(op) \
460 ((op) >= OP_BIT_AND && (op) <= OP_SBIT_OR)