![]() | Fun 0.41.5 The programming language that makes You have fun |
Call frame representing one active function invocation. More...
#include <vm.h>

Data Fields | |
| Bytecode * | fn |
| int | ip |
| Value | locals [MAX_FRAME_LOCALS] |
| int | try_stack [16] |
| int | try_sp |
Call frame representing one active function invocation.
Each frame keeps a pointer to its function bytecode, the current instruction pointer within that bytecode, a fixed-size array of local variables, and a small try/catch stack for exception handling.
| Value locals[MAX_FRAME_LOCALS] |