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

Kostis Sagonas <>
Mon Mar 18 23:04:13 CET 2013


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