<div dir="ltr">LGTM, thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 18, 2013 at 11:10 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 18 November 2013 13:49, Richard Smith <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>> wrote:<br>

> Instead of making this !FreeFunction-specific, can you compute the<br>
> appropriate calling convention and do the unwrap/rewrap thing if it's<br>
> different from the computed calling convention? I'd expect the same thing<br>
> can happen for varargs function templates on some ABIs.<br>
<br>
</div>Something like the attached patch?<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>