[erlang-patches] [erlang-bugs] Use a set to store ref registers in beam_receive

Anthony Ramine <>
Wed Apr 10 12:22:38 CEST 2013


Hello Björn,

I'm not sure I understand what you mean, should I add my example function into receive_SUITE.erl as is to test that? I'm not sure that would demonstrate anything in the long term as my other cooking patch move-let-into-seq makes the culprit code where a reference is live in two Y registers disappear.

Regards,

-- 
Anthony Ramine

Le 10 avr. 2013 à 12:19, Björn Gustavsson a écrit :

> Could you write a test case?
> 
> A copy of the receive_SUITE will be compiled with the inline option.
> If the inlining is not aggressive enough to provoke the bug, you can
> add the test case to inline_SUITE.
> 
> -- 
> Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-patches mailing list