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

Anthony Ramine <>
Tue Mar 19 09:22:36 CET 2013


Of course, I sais bug because I was too lazy to be correct.

Do you know of any other unsaid invariants on which behaviour HiPE depends and that might be changed in the future? Wouldn't that be documentation-worthy?

Regards,

-- 
Anthony Ramine

Le 18 mars 2013 à 23:04, Kostis Sagonas <> a écrit :

> On 03/18/2013 03:13 PM, Anthony Ramine wrote:
>> Hi,
>> 
>> I rebased my patch against latest maint. It should be safe to merge it now that
>> Kostis fixed the bug in HiPE.
> 
> For the record, in this particular case there was no bug in HiPE.
> 
> For better or worse, the HiPE compiler relies on certain invariants in the code that the BEAM compiler generates.  Whenever these invariants get broken, perhaps for very good reasons as in this case, the HiPE compiler also needs to be adapted to not rely on them anymore.  It's a quite natural process in software components that depend on each other that would not classify as a bug.
> 
> Kostis
> 
> Wishing there was a magic way for software to be "future compatible"...


More information about the erlang-patches mailing list