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

Anthony Ramine n.oxyde@REDACTED
Fri Nov 16 18:26:36 CET 2012


Err, forgot to include the mailing-list. Sorry.

You can now look at it there shouldn't be any bug.

-- 
Anthony Ramine

Le 16 nov. 2012 à 18:23, Anthony Ramine a écrit :

> The commit is amended and the bug is fixed, variables which values
> are local function names are substituted everywhere but in guards.
> 
> -- 
> Anthony Ramine
> 
> Le 16 nov. 2012 à 10:24, Anthony Ramine a écrit :
> 
>> 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.
>> 
>> Le 16 nov. 2012 à 01:44, Robert Virding <robert.virding@REDACTED> 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?




More information about the erlang-patches mailing list