1 |
root |
1.2 |
/* list the interpreter variables that need to be saved/restored */ |
2 |
root |
1.1 |
/* mostly copied from thrdvar.h */ |
3 |
|
|
|
4 |
root |
1.6 |
VAR(defoutgv, GV *) /* default FH for output */ |
5 |
root |
1.1 |
VAR(stack_sp, SV **) /* top of the stack */ |
6 |
root |
1.3 |
#ifdef OP_IN_REGISTER |
7 |
|
|
VAR(opsave, OP *) /* probably not necessary */ |
8 |
|
|
#else |
9 |
root |
1.1 |
VAR(op, OP *) /* currently executing op */ |
10 |
root |
1.3 |
#endif |
11 |
root |
1.1 |
VAR(curpad, SV **) /* active pad (lexicals+tmps) */ |
12 |
|
|
|
13 |
|
|
VAR(stack_base, SV **) |
14 |
|
|
VAR(stack_max, SV **) |
15 |
|
|
|
16 |
|
|
VAR(scopestack, I32 *) /* scopes we've ENTERed */ |
17 |
|
|
VAR(scopestack_ix, I32) |
18 |
|
|
VAR(scopestack_max,I32) |
19 |
|
|
|
20 |
|
|
VAR(savestack, ANY *) /* items that need to be restored |
21 |
root |
1.2 |
when LEAVEing scopes we've ENTERed */ |
22 |
root |
1.1 |
VAR(savestack_ix, I32) |
23 |
|
|
VAR(savestack_max, I32) |
24 |
|
|
|
25 |
|
|
VAR(tmps_stack, SV **) /* mortals we've made */ |
26 |
root |
1.2 |
VAR(tmps_ix, I32) |
27 |
|
|
VAR(tmps_floor, I32) |
28 |
root |
1.1 |
VAR(tmps_max, I32) |
29 |
|
|
|
30 |
|
|
VAR(markstack, I32 *) /* stack_sp locations we're remembering */ |
31 |
|
|
VAR(markstack_ptr, I32 *) |
32 |
|
|
VAR(markstack_max, I32 *) |
33 |
|
|
|
34 |
|
|
#if !PERL_VERSION_ATLEAST (5,9,0) |
35 |
|
|
VAR(retstack, OP **) /* OPs we have postponed executing */ |
36 |
|
|
VAR(retstack_ix, I32) |
37 |
|
|
VAR(retstack_max, I32) |
38 |
|
|
#endif |
39 |
|
|
|
40 |
root |
1.3 |
VAR(tainted, bool) /* using variables controlled by $< */ |
41 |
root |
1.1 |
VAR(curpm, PMOP *) /* what to do \ interps in REs from */ |
42 |
root |
1.6 |
VAR(rs, SV *) /* input record separator $/ */ |
43 |
root |
1.1 |
VAR(curcop, COP *) |
44 |
|
|
|
45 |
|
|
VAR(in_eval, int) /* trap "fatal" errors? */ |
46 |
|
|
VAR(localizing, int) /* are we processing a local() list? */ |
47 |
|
|
|
48 |
|
|
VAR(curstack, AV *) /* THE STACK */ |
49 |
|
|
VAR(curstackinfo, PERL_SI *) /* current stack + context */ |
50 |
|
|
VAR(mainstack, AV *) /* the stack when nothing funny is happening */ |
51 |
root |
1.3 |
|
52 |
root |
1.1 |
VAR(sortcop, OP *) /* user defined sort routine */ |
53 |
|
|
VAR(sortstash, HV *) /* which is in some package or other */ |
54 |
root |
1.3 |
#if !PERL_VERSION_ATLEAST (5,9,0) |
55 |
root |
1.1 |
VAR(sortcxix, I32) /* from pp_ctl.c */ |
56 |
root |
1.3 |
#endif |
57 |
root |
1.1 |
|
58 |
|
|
VAR(comppad, AV *) /* storage for lexically scoped temporaries */ |
59 |
root |
1.2 |
|
60 |
root |
1.5 |
/* 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 |
|
|
|
64 |
root |
1.6 |
VAR(runops, runops_proc_t) /* for tracing support */ |
65 |
|
|
|