File 2241-hipe-Add-halt-2-to-functions-that-always-fail.patch of Package erlang

From ab7d8c83a047c2d4c46f1b5f5a7e231af3268e74 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Fri, 20 May 2016 16:37:01 +0200
Subject: [PATCH 7/7] hipe: Add halt/2 to functions that always fail

Seems like halt/2 should be a member of this club.
---
 lib/hipe/icode/hipe_icode_type.erl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/hipe/icode/hipe_icode_type.erl b/lib/hipe/icode/hipe_icode_type.erl
index e3ba00c..5eae8d4 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;
-- 
2.1.4

openSUSE Build Service is sponsored by