aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-03-19 15:10:41 +0200
committerBjörn Gustavsson <[email protected]>2010-06-03 14:34:26 +0200
commit3c34f42bdfc88974f1e839027b5c212512ecc687 (patch)
tree55abeac722de47a352d280766f55f3c8a74f046b /lib/hipe
parentd5e1d113e6467e63e156b6d38a168499851928e0 (diff)
downloadotp-3c34f42bdfc88974f1e839027b5c212512ecc687.tar.gz
otp-3c34f42bdfc88974f1e839027b5c212512ecc687.tar.bz2
otp-3c34f42bdfc88974f1e839027b5c212512ecc687.zip
hipe: Add declarations for exported types
Diffstat (limited to 'lib/hipe')
-rw-r--r--lib/hipe/flow/hipe_dominators.erl2
-rw-r--r--lib/hipe/util/hipe_digraph.erl2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/hipe/flow/hipe_dominators.erl b/lib/hipe/flow/hipe_dominators.erl
index 3bfa6d43c4..c63d88f94a 100644
--- a/lib/hipe/flow/hipe_dominators.erl
+++ b/lib/hipe/flow/hipe_dominators.erl
@@ -37,6 +37,8 @@
domFrontier_create/2,
domFrontier_get/2]).
+-export_type([domTree/0]).
+
-include("cfg.hrl").
%%========================================================================
diff --git a/lib/hipe/util/hipe_digraph.erl b/lib/hipe/util/hipe_digraph.erl
index a62e913fe5..16efa53afe 100644
--- a/lib/hipe/util/hipe_digraph.erl
+++ b/lib/hipe/util/hipe_digraph.erl
@@ -30,6 +30,8 @@
from_list/1, to_list/1, get_parents/2, get_children/2]).
-export([reverse_preorder_sccs/1]).
+-export_type([hdg/0]).
+
%%------------------------------------------------------------------------
-type ordset(T) :: [T]. % XXX: temporarily