[erlang-bugs] Bugs with hibernate/3 and HiPE

Björn Gustavsson <>
Thu Sep 30 14:55:46 CEST 2010

On Tue, Sep 28, 2010 at 3:58 PM, Paul Guyot <> wrote:

>> b. Drop the redundant braces in
>>       if (cond) {
>>               goto blah;
>>       }
> Is there a reference or commonly approved style guidelines for OTP source code? The braces match what can be found in beam_emu.c.

No, we don't have any written guidelines. You should match the style
of the surrounding code in the same source code file. (That is,
if the code is in one of the files in the hipe subdirectory you should
drop the braces.)

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-bugs mailing list