diff options
author | Björn Gustavsson <[email protected]> | 2012-02-09 12:02:06 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-02-09 12:02:06 +0100 |
commit | 34c972456ec18bf48a655ffe9d959b708053f6a0 (patch) | |
tree | f22400818753596ff2e9656461ef54343dc4e76c /lib/hipe/cerl/erl_bif_types.erl | |
parent | 2907d80221da3455137aaabe92aad77411113e84 (diff) | |
parent | ad4a6862a45258b605ab7a799a5cc15c57f6f807 (diff) | |
download | otp-34c972456ec18bf48a655ffe9d959b708053f6a0.tar.gz otp-34c972456ec18bf48a655ffe9d959b708053f6a0.tar.bz2 otp-34c972456ec18bf48a655ffe9d959b708053f6a0.zip |
Merge branch 'bjorn/remove-is_constant-vestiges/OTP-6454' into maint
* bjorn/remove-is_constant-vestiges/OTP-6454:
HiPE: Remove support for is_constant/1
erl_lint: Remove handling of constant/1
erl_bif_types: Remove type for is_constant/1
erl_eval: Remove support for is_constant/1
Remove support for is_constant/1 in ms_transform
Remove references to is_constant/1 from the match spec documentation
Diffstat (limited to 'lib/hipe/cerl/erl_bif_types.erl')
-rw-r--r-- | lib/hipe/cerl/erl_bif_types.erl | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl index cee399e861..825d79bb3c 100644 --- a/lib/hipe/cerl/erl_bif_types.erl +++ b/lib/hipe/cerl/erl_bif_types.erl @@ -54,7 +54,6 @@ t_cons/2, t_cons_hd/1, t_cons_tl/1, - t_constant/0, t_fixnum/0, t_non_neg_fixnum/0, t_pos_fixnum/0, @@ -81,7 +80,6 @@ t_is_bitstr/1, t_is_boolean/1, t_is_cons/1, - t_is_constant/1, t_is_float/1, t_is_float/1, t_is_fun/1, @@ -845,11 +843,6 @@ type(erlang, is_boolean, 1, Xs) -> strict(arg_types(erlang, is_boolean, 1), Xs, Fun); type(erlang, is_builtin, 3, Xs) -> strict(arg_types(erlang, is_builtin, 3), Xs, fun (_) -> t_boolean() end); -type(erlang, is_constant, 1, Xs) -> - Fun = fun (X) -> - check_guard(X, fun (Y) -> t_is_constant(Y) end, t_constant()) - end, - strict(arg_types(erlang, is_constant, 1), Xs, Fun); type(erlang, is_float, 1, Xs) -> Fun = fun (X) -> check_guard(X, fun (Y) -> t_is_float(Y) end, t_float()) @@ -3567,8 +3560,6 @@ arg_types(erlang, is_boolean, 1) -> [t_any()]; arg_types(erlang, is_builtin, 3) -> [t_atom(), t_atom(), t_arity()]; -arg_types(erlang, is_constant, 1) -> - [t_any()]; arg_types(erlang, is_float, 1) -> [t_any()]; arg_types(erlang, is_function, 1) -> |