This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove OP_phoney_{IN,OUT}PUT_ONLY, as they are no longer used or supported.
authorNicholas Clark <nick@ccl4.org>
Tue, 28 Dec 2010 09:20:43 +0000 (09:20 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 28 Dec 2010 10:03:48 +0000 (10:03 +0000)
opnames.h
regen/opcode.pl

index 609c6e2..fdeb94f 100644 (file)
--- a/opnames.h
+++ b/opnames.h
@@ -389,9 +389,6 @@ typedef enum opcode {
 } opcode;
 
 #define MAXO 370
-#define OP_phoney_INPUT_ONLY -1
-#define OP_phoney_OUTPUT_ONLY -2
-
 
 /* the OP_IS_(SOCKET|FILETEST) macros are optimized to a simple range
     check because all the member OPs are contiguous in opcode.pl
index 4b6bb92..b8887c2 100755 (executable)
@@ -175,8 +175,6 @@ for (@ops) {
 print $on "\t", &tab(3,"OP_max"), "\n";
 print $on "} opcode;\n";
 print $on "\n#define MAXO ", scalar @ops, "\n";
-print $on "#define OP_phoney_INPUT_ONLY -1\n";
-print $on "#define OP_phoney_OUTPUT_ONLY -2\n\n";
 
 # Emit op names and descriptions.