From 00668f8cbae565d482e9ad72a63f846cef8e8071 Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Wed, 18 Apr 2012 11:31:27 +0200 Subject: Revert "Extend erlang:port_info/1,2 to show the OS pid of a spawned process" This reverts commit d4667d383964c1550e0a91d64b674e84f6d07e3b. This commit was included by mistake, the correct patch will be merged from maint. --- lib/hipe/cerl/erl_bif_types.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/hipe/cerl') diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl index a65b46494e..5c5ffe86e5 100644 --- a/lib/hipe/cerl/erl_bif_types.erl +++ b/lib/hipe/cerl/erl_bif_types.erl @@ -781,7 +781,6 @@ type(erlang, port_info, 2, Xs) -> ['input'] -> t_tuple([Item, t_integer()]); ['links'] -> t_tuple([Item, t_list(t_pid())]); ['name'] -> t_tuple([Item, t_string()]); - ['os_pid'] -> t_tuple([Item, t_integer()]); ['output'] -> t_tuple([Item, t_integer()]); ['registered_name'] -> t_tuple([Item, t_atom()]); List when is_list(List) -> @@ -2287,7 +2286,7 @@ arg_types(erlang, port_info, 1) -> arg_types(erlang, port_info, 2) -> [t_sup(t_port(), t_atom()), t_atoms(['registered_name', 'id', 'connected', - 'links', 'name', 'input', 'output', 'os_pid'])]; + 'links', 'name', 'input', 'output'])]; %% Guard bif, needs to be here. arg_types(erlang, round, 1) -> [t_number()]; -- cgit v1.2.3