aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/cerl/erl_bif_types.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-06-02 09:30:08 +0200
committerRaimo Niskanen <[email protected]>2010-06-07 17:41:17 +0200
commit3e56a0158b5a4e8b66deab9886fd67131744c701 (patch)
tree9aefecb6ad0be7f3c2cfdd97c0b69b623cb5a34a /lib/hipe/cerl/erl_bif_types.erl
parent8dd0b99b7969826b9eb6e17b1a1fc433d4f217e6 (diff)
downloadotp-3e56a0158b5a4e8b66deab9886fd67131744c701.tar.gz
otp-3e56a0158b5a4e8b66deab9886fd67131744c701.tar.bz2
otp-3e56a0158b5a4e8b66deab9886fd67131744c701.zip
Add type information for erlang:garbage_collect_message_area/0
erlang:garbage_collect_message_area/0 is undocumented and unsupported.
Diffstat (limited to 'lib/hipe/cerl/erl_bif_types.erl')
-rw-r--r--lib/hipe/cerl/erl_bif_types.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl
index 794b4656fe..c14ef404a9 100644
--- a/lib/hipe/cerl/erl_bif_types.erl
+++ b/lib/hipe/cerl/erl_bif_types.erl
@@ -863,6 +863,8 @@ type(erlang, fun_to_list, 1, Xs) ->
type(erlang, garbage_collect, 0, _) -> t_atom('true');
type(erlang, garbage_collect, 1, Xs) ->
strict(arg_types(erlang, garbage_collect, 1), Xs, fun (_) -> t_boolean() end);
+type(erlang, garbage_collect_message_area, 0, _) ->
+ t_boolean();
type(erlang, get, 0, _) -> t_list(t_tuple(2));
type(erlang, get, 1, _) -> t_any(); % | t_atom('undefined')
type(erlang, get_cookie, 0, _) -> t_atom(); % | t_atom('nocookie')
@@ -3612,6 +3614,8 @@ arg_types(erlang, garbage_collect, 0) ->
[];
arg_types(erlang, garbage_collect, 1) ->
[t_pid()];
+arg_types(erlang, garbage_collect_message_area, 0) ->
+ [];
arg_types(erlang, get, 0) ->
[];
arg_types(erlang, get, 1) ->