[erlang-patches] Optimize handling of local fun variables in v3_kernel

Anthony Ramine <>
Fri Nov 16 10:24:54 CET 2012


Hi Robert,

Sorry I couldn't send this patch earlier because I was behind a damn firewall that blocks outgoing SMTP.

As I have rebased my branch against master earlier,
the compare links should be:
   https://github.com/nox/otp/compare/erlang:master...rm-reverse-eta-conversion
   https://github.com/nox/otp/compare/erlang:master...rm-reverse-eta-conversion.patch

I've come to realize there is a bug in the second commit which I'll try to fix today: if a variable that is bound to a local name function is in a guard, the propagation of its value will make beam_validator errors out with {invalid_store,{yy,0}}.

You shouldn't bother looking at the second commit until I fix this.

Regards,

-- 
Anthony Ramine

Le 16 nov. 2012 à 01:44, Robert Virding <> a écrit :

> There seems to be an awful lot in this patch which has nothing to do with what the patch is about, most of it in fact. Is there a rebase missing or something here?
> 
> Robert


More information about the erlang-patches mailing list