[erlang-bugs] Native compilation hangs with rm-reverse-eta-conversion
Mon Jan 21 10:09:14 CET 2013
My patch removes the automatic eta-abstraction for function references from the BEAM code generation . The consequence of this is that some fun references labels (the ones which are from exported functions) are now taken from the exports table in beam_dict.
This makes hipe pass exported functions which are used as fun references to hipe_coordinator both in `Closures` and `Exported`, and that makes everything hang if the exported function contains a fun reference to itself, like in erl_syntax:is_literal/1 .
Could you explain to me what `Escaping` and `NonEscaping` means? More specifically, what the boolean() value in the pairs of `NonEscaping` mean.
Le 20 janv. 2013 à 09:30, Kostis Sagonas a écrit :
> The following is just a guess, but I suspect that your patch either broke a bytecode invariant that the hipe type analyzer relied on (in which case your code needs to respect this invariant), or generated code which is OK but it's code that had never been tested before (so it's a bug in the analysis of the native code compiler)
More information about the erlang-bugs