native support for dynamic-wind
This commit is contained in:
@@ -18,10 +18,18 @@ typedef struct {
|
||||
struct pic_env *env;
|
||||
} pic_callinfo;
|
||||
|
||||
struct pic_block {
|
||||
struct pic_block *prev;
|
||||
int depth;
|
||||
struct pic_proc *in, *out;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
int argc;
|
||||
char **argv, **envp;
|
||||
|
||||
struct pic_block *blk;
|
||||
|
||||
pic_value *sp;
|
||||
pic_value *stbase, *stend;
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@ struct pic_cont {
|
||||
PIC_OBJECT_HEADER
|
||||
jmp_buf jmp;
|
||||
|
||||
struct pic_block *blk;
|
||||
|
||||
size_t stk_len;
|
||||
pic_value *stk_pos, *stk_ptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user