KrkLocalEntry Struct Reference

Metadata on a local variable name in a function. More...

#include <object.h>

Data Fields

size_t id
 Local ID as used by opcodes; offset from the frame's stack base.
 
size_t birthday
 Instruction offset that this local name became valid on.
 
size_t deathday
 Instruction offset that this local name becomes invalid on.
 
KrkStringname
 Name of the local.
 

Detailed Description

Metadata on a local variable name in a function.

This is used by the disassembler to print the names of locals when they are referenced by instructions.

Definition at line 129 of file object.h.


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