<div class="gmail_quote">On Fri, May 4, 2012 at 12:35 AM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":9hv">it would be good to do something cleverer for landing pads.  In theory if both<br>
the landing pad and all invokes feeding it are in the same code region then<br>
extracting them should be OK.  Unfortunately this won't work right because the<br>
various exception handling intrinsics (eg eh.typeid.for) that may be used down<br>
stream from the landing pad need to be in the same function as the landing pad<br>
and invoke.  That may be fixable.</div></blockquote></div><br><div>I'm very open to folks expanding the heuristics here, but I don't trust my self to do a good job with EH, or to write good test cases for it... I should finish with the refactorings here soon, and maybe you or someone can extend it to work better w/ invokes and LPs?</div>