Enums
The frame state of the current function.
This state keeps track of how many locals have been allocated and whether the
frame has been finalized.
Functions
Returns the offset of the newly allocated variable and the new frame state.
Returns the number of slots that were allocated for locals and the new frame state.
Validates that the state at the end of a function is valid.