diff options
| author | Björn Gustavsson <bjorn@erlang.org> | 2020-02-26 08:43:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-26 08:43:26 +0100 |
| commit | dfa21893dae963c615b4c1dde0dd45684f0d29b9 (patch) | |
| tree | 2d8197a6983027b097416446111f527c246c0bc7 /lib/compiler/src | |
| parent | 55bc9c8f75d6bfff922d98768e689e721b229e6d (diff) | |
| parent | 00c15c32d915d9b7e7708de7965da3bf85feb204 (diff) | |
| download | erlang-dfa21893dae963c615b4c1dde0dd45684f0d29b9.tar.gz | |
Merge pull request #2553 from bjorng/bjorn/compiler/beam_ssa_bool
Make sure that 'fail' in a guard makes the guard fail
Diffstat (limited to 'lib/compiler/src')
| -rw-r--r-- | lib/compiler/src/beam_ssa_bool.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_ssa_bool.erl b/lib/compiler/src/beam_ssa_bool.erl index 0b05d97064..0860029c59 100644 --- a/lib/compiler/src/beam_ssa_bool.erl +++ b/lib/compiler/src/beam_ssa_bool.erl @@ -237,7 +237,7 @@ get_phi_info_instr(#b_set{op=phi,dst=Dst,args=Args}, From, Sub0) -> #{Dst:='=:='} -> get_phi_info_single_use(Dst, Sub0); #{Dst:={true_or_any,_}} -> - {true,Sub0}; + get_phi_info_single_use(Dst, Sub0); #{} -> {false,Sub0} end, |
