diff options
author | Sverker Eriksson <[email protected]> | 2016-05-20 16:37:01 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-05-25 14:29:30 +0200 |
commit | ab7d8c83a047c2d4c46f1b5f5a7e231af3268e74 (patch) | |
tree | de181af7977b6172d34de9a87bb5fbd511612ab9 /lib/hipe | |
parent | e5b7f259be44efa45ec8ee3355577e691754cc63 (diff) | |
download | otp-ab7d8c83a047c2d4c46f1b5f5a7e231af3268e74.tar.gz otp-ab7d8c83a047c2d4c46f1b5f5a7e231af3268e74.tar.bz2 otp-ab7d8c83a047c2d4c46f1b5f5a7e231af3268e74.zip |
hipe: Add halt/2 to functions that always fail
Seems like halt/2 should be a member of this club.
Diffstat (limited to 'lib/hipe')
-rw-r--r-- | lib/hipe/icode/hipe_icode_type.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hipe/icode/hipe_icode_type.erl b/lib/hipe/icode/hipe_icode_type.erl index e3ba00c5e9..5eae8d440a 100644 --- a/lib/hipe/icode/hipe_icode_type.erl +++ b/lib/hipe/icode/hipe_icode_type.erl @@ -363,6 +363,7 @@ call_always_fails(#icode_call{} = I, Info) -> %% These can actually be calls too. {erlang, halt, 0} -> false; {erlang, halt, 1} -> false; + {erlang, halt, 2} -> false; {erlang, exit, 1} -> false; {erlang, error, 1} -> false; {erlang, error, 2} -> false; |