summaryrefslogtreecommitdiff
path: root/opcode.pl
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-09-10 10:02:51 +0000
committerArtur Bergman <sky@nanisky.com>2001-09-10 10:02:51 +0000
commit19e8ce8e5f1ac60deced7aff63c00270eec46957 (patch)
tree438ab66fd0092b89295dae0b19886d33a56e9b65 /opcode.pl
parent7a799e204b140f54600dab7d4a7b8f748e814b8f (diff)
downloadperl-19e8ce8e5f1ac60deced7aff63c00270eec46957.tar.gz
Remove #ifdef PERL_CUSTOM_OPS, always build with PERL_CUSTOM_OPS
Rename to custop_op_name to Perl_custom_op_name to match perlapi Clone the hashtable PL_custom_op_names and PL_custop_op_descs in perl_clone. p4raw-id: //depot/perl@11968
Diffstat (limited to 'opcode.pl')
-rwxr-xr-xopcode.pl6
1 files changed, 1 insertions, 5 deletions
diff --git a/opcode.pl b/opcode.pl
index 2e086417dc..297a32b5be 100755
--- a/opcode.pl
+++ b/opcode.pl
@@ -65,15 +65,11 @@ print <<END;
START_EXTERN_C
-#ifdef PERL_CUSTOM_OPS
+
#define OP_NAME(o) (o->op_type == OP_CUSTOM ? custom_op_name(o) : \\
PL_op_name[o->op_type])
#define OP_DESC(o) (o->op_type == OP_CUSTOM ? custom_op_desc(o) : \\
PL_op_desc[o->op_type])
-#else
-#define OP_NAME(o) PL_op_name[o->op_type]
-#define OP_DESC(o) PL_op_desc[o->op_type]
-#endif
#ifndef DOINIT
EXT char *PL_op_name[];