* Any time a function returns, we have to clean up the barriers.
- Iterate over all of memory and remove the matching `FnBarrier`. This is where the "stack" becomes a bit of a lie, because we also remove barriers from the middle of a stack.<br>
This could be optimized by adding an indirection, so we just have to record somewhere that this function call has ended.
* Any time a function returns, we have to clean up the barriers.
- Iterate over all of memory and remove the matching `FnBarrier`. This is where the "stack" becomes a bit of a lie, because we also remove barriers from the middle of a stack.<br>
This could be optimized by adding an indirection, so we just have to record somewhere that this function call has ended.