Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

EH: Finally cloning #77

Closed
JosephTremoulet opened this issue Feb 19, 2015 · 0 comments
Closed

EH: Finally cloning #77

JosephTremoulet opened this issue Feb 19, 2015 · 0 comments

Comments

@JosephTremoulet
Copy link
Contributor

As an optimization, we'll want to clone (at least some) finally handlers on (at least some) non-exceptional paths. TBD whether this is done in-reader, post-reader in llilc code, or by some general tail-duplication-esque optimization in LLVM. The invocation of the beginfinally intrinsic could be removed from the non-exceptional clone (it represents run-time effects of the 1st pass unwinding).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants