class SyntaxTree::YARV::InstructionSequence::Stack

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

def change_by(value)

def change_by(value)
  @current_size += value
  @maximum_size = @current_size if @current_size > @maximum_size
end

def initialize

def initialize
  @current_size = 0
  @maximum_size = 0
end