On Aug 7, 2013 9:11 PM, "William ML Leslie" <[email protected]>
wrote:
> > Don't finally clauses interfere with this?
>
> I could guess at why you ask, but it's probably better if you say it.

I interpret your suggestion to mean we install condition handlers which run
on the stack of the error, before stack unroll. They could decide to
capture the stack or not, because it remains above them.

If we wish to preserve that stack for future handlers, no handler can be
allowed to set the stack pointer (unroll) unless it is ending the exception
propagation. This means generated code in handlers needs to reference
captured stack contents without using the stack pointer, because it runs
down in the stack of the error.
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to