class SyntaxTree::YARV::InstructionSequence::Stack

This object is used to track the size of the stack at any given time. It is effectively a mini symbolic interpreter. It’s necessary because when instruction sequences get serialized they include a :stack_max field on them. This field is used to determine how much stack space to allocate for the instruction sequence.