diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-10-30 17:08:39 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-10-30 17:08:39 +0000 |
commit | c78ff9799bf626c2fa25bf736a1f2793074eaa97 (patch) | |
tree | 36673dad7e1857a20c288d29638e785947d888c2 /mathoms.c | |
parent | ad5d783e0ce2ce4d888246396b594121b152423b (diff) | |
download | perl-c78ff9799bf626c2fa25bf736a1f2793074eaa97.tar.gz |
Functions that die aren't exactly well used code.
(ck_retarget, oopsCV, pp_padany, pp_threadsv, pp_mapstart)
p4raw-id: //depot/perl@25901
Diffstat (limited to 'mathoms.c')
-rw-r--r-- | mathoms.c | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -748,6 +748,40 @@ Perl_save_hints(pTHX) Perl_croak(aTHX_ "internal error: obsolete function save_hints() called"); } +#if 0 +OP * +Perl_ck_retarget(pTHX_ OP *o) +{ + Perl_croak(aTHX_ "NOT IMPL LINE %d",__LINE__); + /* STUB */ + return o; +} +#endif + +OP * +Perl_oopsCV(pTHX_ OP *o) +{ + Perl_croak(aTHX_ "NOT IMPL LINE %d",__LINE__); + /* STUB */ + PERL_UNUSED_ARG(o); + NORETURN_FUNCTION_END; +} + +PP(pp_padany) +{ + DIE(aTHX_ "NOT IMPL LINE %d",__LINE__); +} + +PP(pp_threadsv) +{ + DIE(aTHX_ "tried to access per-thread data in non-threaded perl"); +} + +PP(pp_mapstart) +{ + DIE(aTHX_ "panic: mapstart"); /* uses grepstart */ +} + /* * Local variables: * c-indentation-style: bsd |