erlang/otp — pull request #254 by nox (2014-03-01 16:29:06+00:00)
Title: Do not try to optimize non-boolean guards

Expressions such as erlang:'or'(bar, true) can make beam_bool crash if it tries to optimize them, as this code is not quite really written by users, no attempt to rewrite them more efficiently should be done, for simplicity's sake.

@UlfNorell