aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-04-21 09:27:40 +0200
committerBjörn Gustavsson <[email protected]>2015-04-23 13:44:03 +0200
commit16d97a57e5cd0f820884e4223b92f50e3ce39b01 (patch)
treeb873287526bb9834c6b052a4ae16dcca33999028 /lib/compiler/src
parent94a33dfb4becbf5ce4da487ac50cfa9d9d760708 (diff)
downloadotp-16d97a57e5cd0f820884e4223b92f50e3ce39b01.tar.gz
otp-16d97a57e5cd0f820884e4223b92f50e3ce39b01.tar.bz2
otp-16d97a57e5cd0f820884e4223b92f50e3ce39b01.zip
beam_validator: Remove support for removed BIF fault/1,2
The fault/1,2 BIF was removed a long time ago.
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/beam_validator.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/compiler/src/beam_validator.erl b/lib/compiler/src/beam_validator.erl
index d642bf9867..c758a6095a 100644
--- a/lib/compiler/src/beam_validator.erl
+++ b/lib/compiler/src/beam_validator.erl
@@ -1634,8 +1634,6 @@ return_type_1(M, F, A, _) when is_atom(M), is_atom(F), is_integer(A), A >= 0 ->
return_type_erl(exit, 1) -> exception;
return_type_erl(throw, 1) -> exception;
-return_type_erl(fault, 1) -> exception;
-return_type_erl(fault, 2) -> exception;
return_type_erl(error, 1) -> exception;
return_type_erl(error, 2) -> exception;
return_type_erl(F, A) when is_atom(F), is_integer(A), A >= 0 -> term.