Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
Frame Struct Reference

Call frame representing one active function invocation. More...

#include <vm.h>

Collaboration diagram for Frame:

Data Fields

Bytecodefn
int ip
Value locals [MAX_FRAME_LOCALS]
int try_stack [16]
int try_sp

Detailed Description

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.

Definition at line 93 of file vm.h.

Field Documentation

◆ fn

Definition at line 94 of file vm.h.

◆ ip

int ip

Definition at line 95 of file vm.h.

◆ locals

Definition at line 96 of file vm.h.

◆ try_sp

int try_sp

Definition at line 99 of file vm.h.

◆ try_stack

int try_stack[16]

Definition at line 98 of file vm.h.


The documentation for this struct was generated from the following file: