Skip to main content

MAX_STACK

Constant MAX_STACK 

Source
pub const MAX_STACK: usize = 250;
Expand description

The most registers a function can use. The VM keeps a window of a bit more than 256 slots above every frame, so this leaves room for the registers above R(A) that some instructions touch.