ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/state.h
Revision: 1.3
Committed: Tue Dec 5 12:50:04 2006 UTC (17 years, 6 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-3_41, rel-3_55, rel-3_51, rel-3_6, rel-3_62, rel-3_63, rel-3_61, rel-3_4, rel-3_5, rel-3_3, rel-3_2, rel-3_11, rel-3_501
Changes since 1.2: +8 -0 lines
Log Message:
3.11

File Contents

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