summaryrefslogtreecommitdiff
path: root/opcode.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-31 18:34:59 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-31 18:34:59 +0000
commit65bca31a689e744d19bc76458567e5ae895ca3dd (patch)
treeb5169e63a1f207d980ba8fa5cc0bd20a23f53b56 /opcode.pl
parent836ede62bb86a610a76a79ff480e4916d1c82de1 (diff)
downloadperl-65bca31a689e744d19bc76458567e5ae895ca3dd.tar.gz
Replace the 3 currently "unreachable" ops with a single op body
unimplemented_op() that panics descriptively if ever reached. p4raw-id: //depot/perl@25937
Diffstat (limited to 'opcode.pl')
-rwxr-xr-xopcode.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/opcode.pl b/opcode.pl
index ffe4901924..e3b9056b4e 100755
--- a/opcode.pl
+++ b/opcode.pl
@@ -40,7 +40,8 @@ my %alias;
# Format is "this function" => "does these op names"
my @raw_alias = (
Perl_do_kv => [qw( keys values )],
- );
+ Perl_unimplemented_op => [qw(padany threadsv mapstart)],
+ );
while (my ($func, $names) = splice @raw_alias, 0, 2) {
$alias{$_} = $func for @$names;
@@ -72,6 +73,8 @@ print <<"END";
#define Perl_pp_i_postinc Perl_pp_postinc
#define Perl_pp_i_postdec Perl_pp_postdec
+PERL_PPDEF(Perl_unimplemented_op)
+
END
print ON <<"END";