2005-05-01 11:48:36 +00:00
|
|
|
#ifndef __state_h
|
|
|
|
#define __state_h
|
|
|
|
|
|
|
|
#include "Instruction.h"
|
|
|
|
#include "Frame.h"
|
2005-05-08 06:38:01 +00:00
|
|
|
#include "CompiledCode.h"
|
2005-05-01 11:48:36 +00:00
|
|
|
|
2005-05-06 23:25:06 +00:00
|
|
|
@class Continuation;
|
|
|
|
|
2010-01-13 06:34:32 +00:00
|
|
|
struct state_s {
|
2011-02-14 13:39:43 +00:00
|
|
|
instruction_t *program;
|
|
|
|
lineinfo_t *lineinfo;
|
2011-03-25 07:46:32 +00:00
|
|
|
int pc;
|
2011-02-14 13:39:43 +00:00
|
|
|
Frame *literals, *env;
|
|
|
|
SchemeObject *stack;
|
|
|
|
Continuation *cont;
|
|
|
|
Procedure *proc;
|
2005-05-01 11:48:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct state_s state_t;
|
|
|
|
#endif
|