This simplifies the run* methods in the simulator such that only a
Label and not both Label and BasicBlock must be supplied. The
Simulator received a new attribute region_stack which memoizes the
current region and allows for a region aware get_block for any
simulator run. This significantly reduces code overhead and creates a
simple, easy to use API when iterating through the program.
This simplifies the
run*
methods in the simulator such that only aLabel
and not bothLabel
andBasicBlock
must be supplied. The Simulator received a new attributeregion_stack
which memoizes the current region and allows for a region awareget_block
for any simulator run. This significantly reduces code overhead and creates a simple, easy to use API when iterating through the program.depends on #14