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!
121 OP_NCOMPLEMENT = 104,
122 OP_SCOMPLEMENT = 105,
153 OP_AELEMFAST_LEX = 136,
229 OP_METHOD_NAMED = 212,
230 OP_METHOD_SUPER = 213,
231 OP_METHOD_REDIR = 214,
232 OP_METHOD_REDIR_SUPER = 215,
281 OP_GETSOCKNAME = 264,
282 OP_GETPEERNAME = 265,
339 OP_GETPRIORITY = 322,
340 OP_SETPRIORITY = 323,
417 #define OP_FREED MAXO
419 /* the OP_IS_* macros are optimized to a simple range check because
420 all the member OPs are contiguous in regen/opcodes table.
421 opcode.pl verifies the range contiguity, or generates an OR-equals
424 #define OP_IS_SOCKET(op) \
425 ((op) >= OP_SEND && (op) <= OP_GETPEERNAME)
427 #define OP_IS_FILETEST(op) \
428 ((op) >= OP_FTRREAD && (op) <= OP_FTBINARY)
430 #define OP_IS_FILETEST_ACCESS(op) \
431 ((op) >= OP_FTRREAD && (op) <= OP_FTEEXEC)
433 #define OP_IS_NUMCOMPARE(op) \
434 ((op) >= OP_LT && (op) <= OP_I_NCMP)
436 #define OP_IS_DIRHOP(op) \
437 ((op) >= OP_READDIR && (op) <= OP_CLOSEDIR)
439 #define OP_IS_INFIX_BIT(op) \
440 ((op) >= OP_BIT_AND && (op) <= OP_SBIT_OR)