diff options
author | Jim Cromie <jcromie@cpan.org> | 2008-02-10 05:52:59 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-02-25 08:02:50 +0000 |
commit | 6ecf81d654dfb4e99b0f99d78579deb3289aae3b (patch) | |
tree | abb87fe3ab127dd5b0bf97f385955e374cf1e31d /op.h | |
parent | c13076132a20419dab956060b96f9d3ef3b25ad7 (diff) | |
download | perl-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 'op.h')
-rw-r--r-- | op.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -266,13 +266,6 @@ Deprecated. Use C<GIMME_V> instead. /* Private for OP_FTXXX */ #define OPpFT_ACCESS 2 /* use filetest 'access' */ #define OPpFT_STACKED 4 /* stacked filetest, as in "-f -x $f" */ -#define OP_IS_FILETEST_ACCESS(op) \ - (((op)->op_type) == OP_FTRREAD || \ - ((op)->op_type) == OP_FTRWRITE || \ - ((op)->op_type) == OP_FTREXEC || \ - ((op)->op_type) == OP_FTEREAD || \ - ((op)->op_type) == OP_FTEWRITE || \ - ((op)->op_type) == OP_FTEEXEC) /* Private for OP_(MAP|GREP)(WHILE|START) */ #define OPpGREP_LEX 2 /* iterate over lexical $_ */ |