aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-05-25 06:29:20 +0200
committerBjörn Gustavsson <[email protected]>2016-05-30 13:19:20 +0200
commit4992284e993f26afc83630dd6c1ffeb27a00ef65 (patch)
tree64d7dd8bc9c93cdad1c0c571db22c2b92e8f4409 /lib
parent4d6601a9cd84e31b0ab27e3587e82425dced2c75 (diff)
downloadotp-4992284e993f26afc83630dd6c1ffeb27a00ef65.tar.gz
otp-4992284e993f26afc83630dd6c1ffeb27a00ef65.tar.bz2
otp-4992284e993f26afc83630dd6c1ffeb27a00ef65.zip
beam_validator: Remove uncovered line
The raise/3 instruction is specially handled, thus there is no need for bif_type/3 to handle raise/3 (also, the number of arguments was incorrect, so it could never have matched).
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler/src/beam_validator.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_validator.erl b/lib/compiler/src/beam_validator.erl
index faff9940ec..1aab9de88e 100644
--- a/lib/compiler/src/beam_validator.erl
+++ b/lib/compiler/src/beam_validator.erl
@@ -1510,7 +1510,6 @@ bif_type(node, [_], _) -> {atom,[]};
bif_type(hd, [_], _) -> term;
bif_type(tl, [_], _) -> term;
bif_type(get, [_], _) -> term;
-bif_type(raise, [_,_], _) -> exception;
bif_type(Bif, _, _) when is_atom(Bif) -> term.
is_bif_safe('/=', 2) -> true;