diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-10-31 18:34:59 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-10-31 18:34:59 +0000 |
commit | 65bca31a689e744d19bc76458567e5ae895ca3dd (patch) | |
tree | b5169e63a1f207d980ba8fa5cc0bd20a23f53b56 /opcode.pl | |
parent | 836ede62bb86a610a76a79ff480e4916d1c82de1 (diff) | |
download | perl-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-x | opcode.pl | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"; |