summaryrefslogtreecommitdiff
path: root/opnames.h
diff options
context:
space:
mode:
authorJim Cromie <jcromie@cpan.org>2008-02-10 05:52:59 -0700
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-02-25 08:02:50 +0000
commit6ecf81d654dfb4e99b0f99d78579deb3289aae3b (patch)
treeabb87fe3ab127dd5b0bf97f385955e374cf1e31d /opnames.h
parentc13076132a20419dab956060b96f9d3ef3b25ad7 (diff)
downloadperl-6ecf81d654dfb4e99b0f99d78579deb3289aae3b.tar.gz
Re: [patch] optimize OP_IS_(FILETEST|SOCKET) macros
From: "Jim Cromie" <jim.cromie@gmail.com> Message-ID: <cfe85dfa0802101152n4e1b9e07pc7fb7ad9241a9794@mail.gmail.com> p4raw-id: //depot/perl@33364
Diffstat (limited to 'opnames.h')
-rw-r--r--opnames.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/opnames.h b/opnames.h
index ac6d259ecd..e0012ed8e2 100644
--- a/opnames.h
+++ b/opnames.h
@@ -398,4 +398,7 @@ typedef enum opcode {
#define OP_IS_FILETEST(op) \
((op) >= OP_FTRREAD && (op) <= OP_FTBINARY)
+#define OP_IS_FILETEST_ACCESS(op) \
+ ((op) >= OP_FTRREAD && (op) <= OP_FTEEXEC)
+
/* ex: set ro: */