post 5005 threads is croak().
p4raw-id: //depot/perl@27021
Ap |void |save_padsv |PADOFFSET off
Ap |void |save_sptr |NN SV** sptr
Ap |SV* |save_svref |NN SV** sptr
-Apr |SV** |save_threadsv |PADOFFSET i
p |OP* |sawparens |NULLOK OP* o
p |OP* |scalar |NULLOK OP* o
p |OP* |scalarkids |NULLOK OP* o
#define save_padsv Perl_save_padsv
#define save_sptr Perl_save_sptr
#define save_svref Perl_save_svref
-#define save_threadsv Perl_save_threadsv
#ifdef PERL_CORE
#define sawparens Perl_sawparens
#define scalar Perl_scalar
#define save_padsv(a) Perl_save_padsv(aTHX_ a)
#define save_sptr(a) Perl_save_sptr(aTHX_ a)
#define save_svref(a) Perl_save_svref(aTHX_ a)
-#define save_threadsv(a) Perl_save_threadsv(aTHX_ a)
#ifdef PERL_CORE
#define sawparens(a) Perl_sawparens(aTHX_ a)
#define scalar(a) Perl_scalar(aTHX_ a)
Perl_save_padsv
Perl_save_sptr
Perl_save_svref
-Perl_save_threadsv
Perl_scan_bin
Perl_scan_hex
Perl_scan_num
PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr)
__attribute__nonnull__(pTHX_1);
-PERL_CALLCONV SV** Perl_save_threadsv(pTHX_ PADOFFSET i)
- __attribute__noreturn__;
-
PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o);
PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o);
PERL_CALLCONV OP* Perl_scalarkids(pTHX_ OP* o);
SSPUSHINT(SAVEt_PADSV);
}
-SV **
-Perl_save_threadsv(pTHX_ PADOFFSET i)
-{
- dVAR;
- Perl_croak(aTHX_ "panic: save_threadsv called in non-threaded perl");
- PERL_UNUSED_ARG(i);
- NORETURN_FUNCTION_END;
-}
-
void
Perl_save_nogv(pTHX_ GV *gv)
{