summaryrefslogtreecommitdiff
path: root/pp.c
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 /pp.c
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 'pp.c')
-rw-r--r--pp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pp.c b/pp.c
index 8ae5a075c2..ddffda824c 100644
--- a/pp.c
+++ b/pp.c
@@ -4785,6 +4785,13 @@ PP(pp_lock)
RETURN;
}
+
+PP(unimplemented_op)
+{
+ DIE(aTHX_ "panic: unimplemented op %s (#%d) called", OP_NAME(PL_op),
+ PL_op->op_type);
+}
+
/*
* Local variables:
* c-indentation-style: bsd