

Public Member Functions | |
| RTH_StackFrame & | tos (void) |
| void | push (const RTH_StackFrame &f) |
| bool | pop (void) |
| RTH_Runtime (void *obj_, const RTH_StackFrame &start) | |
| ~RTH_Runtime () | |
| void | pup (PUP::er &p) |
Data Fields | |
| void * | obj |
| int | terminated |
Private Types | |
| enum | { maxStack = 16 } |
Private Attributes | |
| int | stackptr |
| RTH_StackFrame | stack [maxStack] |
Definition at line 65 of file RTH.C.
| RTH_Runtime::RTH_Runtime | ( | void * | obj_, | |
| const RTH_StackFrame & | start | |||
| ) |
| RTH_Runtime::~RTH_Runtime | ( | ) |
| RTH_StackFrame& RTH_Runtime::tos | ( | void | ) | [inline] |
Definition at line 74 of file RTH.C.
Referenced by RTH_Runtime_call(), RTH_Runtime_done(), RTH_Runtime_resume(), and RTH_Runtime_suspend().
| void RTH_Runtime::push | ( | const RTH_StackFrame & | f | ) | [inline] |
Definition at line 76 of file RTH.C.
References allocLocals(), RTH_StackFrame::locals, and RTH_StackFrame::localsSize.
Referenced by RTH_Runtime(), and RTH_Runtime_call().
| bool RTH_Runtime::pop | ( | void | ) | [inline] |
Definition at line 82 of file RTH.C.
References freeLocals(), and RTH_StackFrame::locals.
Referenced by RTH_Runtime_done(), and ~RTH_Runtime().
| void RTH_Runtime::pup | ( | PUP::er & | p | ) | [inline] |
int RTH_Runtime::stackptr [private] |
RTH_StackFrame RTH_Runtime::stack[maxStack] [private] |
| void* RTH_Runtime::obj |
Definition at line 94 of file RTH.C.
Referenced by RTH_Runtime(), RTH_Runtime_resume(), and ~RTH_Runtime().
1.5.5