1 /* -*- buffer-read-only: t -*-
5 * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, by Larry Wall and others
7 * You may distribute under the terms of either the GNU General Public
8 * License or the Artistic License, as specified in the README file.
11 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
12 * This file is built by opcode.pl from its data. Any changes made here
33 OP_AV2ARYLEN, /* 16 */
36 OP_PROTOTYPE, /* 19 */
45 OP_REGCMAYBE, /* 28 */
46 OP_REGCRESET, /* 29 */
51 OP_SUBSTCONT, /* 34 */
68 OP_I_POSTINC, /* 51 */
70 OP_I_POSTDEC, /* 53 */
73 OP_I_MULTIPLY, /* 56 */
82 OP_I_SUBTRACT, /* 65 */
84 OP_STRINGIFY, /* 67 */
85 OP_LEFT_SHIFT, /* 68 */
86 OP_RIGHT_SHIFT, /* 69 */
112 OP_I_NEGATE, /* 95 */
114 OP_COMPLEMENT, /* 97 */
132 OP_SPRINTF, /* 115 */
133 OP_FORMLINE, /* 116 */
137 OP_UCFIRST, /* 120 */
138 OP_LCFIRST, /* 121 */
141 OP_QUOTEMETA, /* 124 */
143 OP_AELEMFAST, /* 126 */
160 OP_ANONLIST, /* 143 */
161 OP_ANONHASH, /* 144 */
166 OP_UNSHIFT, /* 149 */
168 OP_REVERSE, /* 151 */
169 OP_GREPSTART, /* 152 */
170 OP_GREPWHILE, /* 153 */
171 OP_MAPSTART, /* 154 */
172 OP_MAPWHILE, /* 155 */
179 OP_COND_EXPR, /* 162 */
180 OP_ANDASSIGN, /* 163 */
181 OP_ORASSIGN, /* 164 */
183 OP_ENTERSUB, /* 166 */
184 OP_LEAVESUB, /* 167 */
185 OP_LEAVESUBLV, /* 168 */
190 OP_LINESEQ, /* 173 */
191 OP_NEXTSTATE, /* 174 */
192 OP_DBSTATE, /* 175 */
193 OP_UNSTACK, /* 176 */
197 OP_ENTERITER, /* 180 */
199 OP_ENTERLOOP, /* 182 */
200 OP_LEAVELOOP, /* 183 */
210 OP_PIPE_OP, /* 193 */
213 OP_BINMODE, /* 196 */
217 OP_DBMOPEN, /* 200 */
218 OP_DBMCLOSE, /* 201 */
219 OP_SSELECT, /* 202 */
223 OP_ENTERWRITE, /* 206 */
224 OP_LEAVEWRITE, /* 207 */
227 OP_SYSOPEN, /* 210 */
228 OP_SYSSEEK, /* 211 */
229 OP_SYSREAD, /* 212 */
230 OP_SYSWRITE, /* 213 */
236 OP_TRUNCATE, /* 219 */
241 OP_SOCKPAIR, /* 224 */
243 OP_CONNECT, /* 226 */
246 OP_SHUTDOWN, /* 229 */
247 OP_GSOCKOPT, /* 230 */
248 OP_SSOCKOPT, /* 231 */
249 OP_GETSOCKNAME, /* 232 */
250 OP_GETPEERNAME, /* 233 */
253 OP_FTRREAD, /* 236 */
254 OP_FTRWRITE, /* 237 */
255 OP_FTREXEC, /* 238 */
256 OP_FTEREAD, /* 239 */
257 OP_FTEWRITE, /* 240 */
258 OP_FTEEXEC, /* 241 */
260 OP_FTEOWNED, /* 243 */
261 OP_FTROWNED, /* 244 */
264 OP_FTMTIME, /* 247 */
265 OP_FTATIME, /* 248 */
266 OP_FTCTIME, /* 249 */
279 OP_FTBINARY, /* 262 */
288 OP_SYMLINK, /* 271 */
289 OP_READLINK, /* 272 */
292 OP_OPEN_DIR, /* 275 */
293 OP_READDIR, /* 276 */
294 OP_TELLDIR, /* 277 */
295 OP_SEEKDIR, /* 278 */
296 OP_REWINDDIR, /* 279 */
297 OP_CLOSEDIR, /* 280 */
300 OP_WAITPID, /* 283 */
304 OP_GETPPID, /* 287 */
305 OP_GETPGRP, /* 288 */
306 OP_SETPGRP, /* 289 */
307 OP_GETPRIORITY, /* 290 */
308 OP_SETPRIORITY, /* 291 */
311 OP_LOCALTIME, /* 294 */
317 OP_SHMREAD, /* 300 */
318 OP_SHMWRITE, /* 301 */
326 OP_REQUIRE, /* 309 */
328 OP_ENTEREVAL, /* 311 */
329 OP_LEAVEEVAL, /* 312 */
330 OP_ENTERTRY, /* 313 */
331 OP_LEAVETRY, /* 314 */
332 OP_GHBYNAME, /* 315 */
333 OP_GHBYADDR, /* 316 */
334 OP_GHOSTENT, /* 317 */
335 OP_GNBYNAME, /* 318 */
336 OP_GNBYADDR, /* 319 */
337 OP_GNETENT, /* 320 */
338 OP_GPBYNAME, /* 321 */
339 OP_GPBYNUMBER, /* 322 */
340 OP_GPROTOENT, /* 323 */
341 OP_GSBYNAME, /* 324 */
342 OP_GSBYPORT, /* 325 */
343 OP_GSERVENT, /* 326 */
344 OP_SHOSTENT, /* 327 */
345 OP_SNETENT, /* 328 */
346 OP_SPROTOENT, /* 329 */
347 OP_SSERVENT, /* 330 */
348 OP_EHOSTENT, /* 331 */
349 OP_ENETENT, /* 332 */
350 OP_EPROTOENT, /* 333 */
351 OP_ESERVENT, /* 334 */
362 OP_GETLOGIN, /* 345 */
363 OP_SYSCALL, /* 346 */
365 OP_THREADSV, /* 348 */
366 OP_SETSTATE, /* 349 */
367 OP_METHOD_NAMED,/* 350 */
369 OP_DORASSIGN, /* 352 */
370 OP_ENTERGIVEN, /* 353 */
371 OP_LEAVEGIVEN, /* 354 */
372 OP_ENTERWHEN, /* 355 */
373 OP_LEAVEWHEN, /* 356 */
375 OP_CONTINUE, /* 358 */
376 OP_SMARTMATCH, /* 359 */
383 #define OP_phoney_INPUT_ONLY -1
384 #define OP_phoney_OUTPUT_ONLY -2
387 #define OP_IS_SOCKET(op) \
388 ((op) == OP_ACCEPT || \
390 (op) == OP_CONNECT || \
391 (op) == OP_GETPEERNAME || \
392 (op) == OP_GETSOCKNAME || \
393 (op) == OP_GSOCKOPT || \
394 (op) == OP_LISTEN || \
397 (op) == OP_SHUTDOWN || \
398 (op) == OP_SOCKET || \
399 (op) == OP_SOCKPAIR || \
403 #define OP_IS_FILETEST(op) \
404 ((op) == OP_FTATIME || \
405 (op) == OP_FTBINARY || \
406 (op) == OP_FTBLK || \
407 (op) == OP_FTCHR || \
408 (op) == OP_FTCTIME || \
409 (op) == OP_FTDIR || \
410 (op) == OP_FTEEXEC || \
411 (op) == OP_FTEOWNED || \
412 (op) == OP_FTEREAD || \
413 (op) == OP_FTEWRITE || \
414 (op) == OP_FTFILE || \
416 (op) == OP_FTLINK || \
417 (op) == OP_FTMTIME || \
418 (op) == OP_FTPIPE || \
419 (op) == OP_FTREXEC || \
420 (op) == OP_FTROWNED || \
421 (op) == OP_FTRREAD || \
422 (op) == OP_FTRWRITE || \
423 (op) == OP_FTSGID || \
424 (op) == OP_FTSIZE || \
425 (op) == OP_FTSOCK || \
426 (op) == OP_FTSUID || \
427 (op) == OP_FTSVTX || \
428 (op) == OP_FTTEXT || \
429 (op) == OP_FTTTY || \