1 | /* list the interpreter variables that need to be saved/restored */ |
1 | /* list the interpreter variables that need to be saved/restored */ |
2 | /* mostly copied from thrdvar.h */ |
2 | /* mostly copied from thrdvar.h */ |
3 | |
3 | |
4 | VAR(defoutgv, GV *) /* default FH for output */ |
|
|
5 | VAR(stack_sp, SV **) /* the main stack */ |
4 | VAR(stack_sp, SV **) /* the main stack */ |
6 | #ifdef OP_IN_REGISTER |
5 | #ifdef OP_IN_REGISTER |
7 | VAR(opsave, OP *) /* probably not necessary */ |
6 | VAR(opsave, OP *) /* probably not necessary */ |
8 | #else |
7 | #else |
9 | VAR(op, OP *) /* currently executing op */ |
8 | VAR(op, OP *) /* currently executing op */ |
… | |
… | |
35 | VAR(retstack, OP **) /* OPs we have postponed executing */ |
34 | VAR(retstack, OP **) /* OPs we have postponed executing */ |
36 | VAR(retstack_ix, I32) |
35 | VAR(retstack_ix, I32) |
37 | VAR(retstack_max, I32) |
36 | VAR(retstack_max, I32) |
38 | #endif |
37 | #endif |
39 | |
38 | |
40 | VAR(tainted, bool) /* using variables controlled by $< */ |
|
|
41 | VAR(curpm, PMOP *) /* what to do \ interps in REs from */ |
39 | VAR(curpm, PMOP *) /* what to do \ interps in REs from */ |
42 | VAR(rs, SV *) /* input record separator $/ */ |
40 | VAR(rs, SV *) /* input record separator $/ */ |
|
|
41 | VAR(defoutgv, GV *) /* default FH for output */ |
43 | VAR(curcop, COP *) |
42 | VAR(curcop, COP *) |
44 | |
|
|
45 | VAR(in_eval, int) /* trap "fatal" errors? */ |
|
|
46 | VAR(localizing, int) /* are we processing a local() list? */ |
|
|
47 | |
43 | |
48 | VAR(curstack, AV *) /* THE STACK */ |
44 | VAR(curstack, AV *) /* THE STACK */ |
49 | VAR(curstackinfo, PERL_SI *) /* current stack + context */ |
45 | VAR(curstackinfo, PERL_SI *) /* current stack + context */ |
50 | |
46 | |
51 | VAR(sortcop, OP *) /* user defined sort routine */ |
47 | VAR(sortcop, OP *) /* user defined sort routine */ |
52 | VAR(sortstash, HV *) /* which is in some package or other */ |
48 | VAR(sortstash, HV *) /* which is in some package or other */ |
53 | #if !PERL_VERSION_ATLEAST (5,9,0) |
49 | #if !PERL_VERSION_ATLEAST (5,9,0) |
54 | VAR(sortcxix, I32) /* from pp_ctl.c */ |
50 | VAR(sortcxix, I32) /* from pp_ctl.c */ |
55 | #endif |
51 | #endif |
56 | |
52 | |
|
|
53 | VAR(localizing, U8) /* are we processing a local() list? */ |
|
|
54 | VAR(in_eval, U8) /* trap "fatal" errors? */ |
|
|
55 | VAR(tainted, bool) /* using variables controlled by $< */ |
|
|
56 | |
|
|
57 | VAR(diehook, SV *) |
|
|
58 | VAR(warnhook, SV *) |
|
|
59 | |
|
|
60 | /* compcv is intrpvar, but seems to be thread-specific to me */ |
|
|
61 | /* but, well, I thoroughly misunderstand what thrdvar and intrpvar is. still. */ |
|
|
62 | VAR(compcv, CV *) /* currently compiling subroutine */ |
|
|
63 | |
57 | VAR(comppad, AV *) /* storage for lexically scoped temporaries */ |
64 | VAR(comppad, AV *) /* storage for lexically scoped temporaries */ |
58 | VAR(comppad_name, AV *) /* variable names for "my" variables */ |
65 | VAR(comppad_name, AV *) /* variable names for "my" variables */ |
59 | VAR(comppad_name_fill, I32) /* last "introduced" variable offset */ |
66 | VAR(comppad_name_fill, I32) /* last "introduced" variable offset */ |
60 | VAR(comppad_name_floor, I32) /* start of vars in innermost block */ |
67 | VAR(comppad_name_floor, I32) /* start of vars in innermost block */ |
61 | |
68 | |
62 | /* compcv is intrpvar, but seems to be thread-specific to me */ |
69 | VAR(runops, runops_proc_t) /* for tracing support */ |
63 | /* but, well, I thoroughly misunderstand what thrdvar and intrpvar is. still. */ |
|
|
64 | VAR(compcv, CV *) /* currently compiling subroutine */ |
|
|
65 | |
70 | |
66 | VAR(diehook, SV *) |
71 | VAR(hints, U32) /* pragma-tic compile-time flags */ |
67 | VAR(warnhook, SV *) |
|
|
68 | VAR(runops, runops_proc_t) /* for tracing support */ |
|
|
69 | |
72 | |
70 | #if PERL_VERSION_ATLEAST (5,10,0) |
73 | #if PERL_VERSION_ATLEAST (5,10,0) |
71 | VAR(parser, yy_parser *) |
74 | VAR(parser, yy_parser *) |
72 | #endif |
75 | #endif |
73 | |
76 | |
74 | VAR(hints, U32) /* pragma-tic compile-time flags */ |
|
|
75 | |
|
|