aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-02-03 10:08:37 +0100
committerBjörn Gustavsson <[email protected]>2010-02-14 16:48:14 +0100
commit11d4aabd55fbf07701840827040f4b5496221587 (patch)
tree8c4fb8f87e4454d285ad79987aef3495b568d749
parent4df513725e90af55f709126a5d35674142a05791 (diff)
downloadotp-11d4aabd55fbf07701840827040f4b5496221587.tar.gz
otp-11d4aabd55fbf07701840827040f4b5496221587.tar.bz2
otp-11d4aabd55fbf07701840827040f4b5496221587.zip
Add types for erts_debug:dist_ext_to_term/2
-rw-r--r--lib/hipe/cerl/erl_bif_types.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl
index 5160273afe..862166cb1b 100644
--- a/lib/hipe/cerl/erl_bif_types.erl
+++ b/lib/hipe/cerl/erl_bif_types.erl
@@ -1768,6 +1768,9 @@ type(erts_debug, disassemble, 1, Xs) ->
fun (_) -> t_sup([t_atom('false'),
t_atom('undef'),
t_tuple([t_integer(), t_binary(), t_mfa()])]) end);
+type(erts_debug, dist_ext_to_term, 2, Xs) ->
+ strict(arg_types(erts_debug, dist_ext_to_term, 2), Xs,
+ fun (_) -> t_any() end);
type(erts_debug, flat_size, 1, Xs) ->
strict(arg_types(erts_debug, flat_size, 1), Xs, fun (_) -> t_integer() end);
type(erts_debug, same, 2, Xs) ->
@@ -3865,6 +3868,8 @@ arg_types(erts_debug, breakpoint, 2) ->
[t_tuple([t_atom(), t_atom(), t_sup(t_integer(), t_atom('_'))]), t_boolean()];
arg_types(erts_debug, disassemble, 1) ->
[t_sup(t_mfa(), t_integer())];
+arg_types(erts_debug, dist_ext_to_term, 2) ->
+ [t_tuple(), t_binary()];
arg_types(erts_debug, flat_size, 1) ->
[t_any()];
arg_types(erts_debug, same, 2) ->