aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode/hipe_icode_cfg.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2016-05-27 16:51:44 +0200
committerSverker Eriksson <[email protected]>2016-05-31 12:19:59 +0200
commit694cd826c34c1ae0f5a7aed79459edb102971934 (patch)
treee027aa8e952310b52795b4f145bb18c346795520 /lib/hipe/icode/hipe_icode_cfg.erl
parent8a27b1fdeee657275d16adbfca3a4082bda5e0e2 (diff)
downloadotp-694cd826c34c1ae0f5a7aed79459edb102971934.tar.gz
otp-694cd826c34c1ae0f5a7aed79459edb102971934.tar.bz2
otp-694cd826c34c1ae0f5a7aed79459edb102971934.zip
Define, export and use a hipe_icode:params() type
Diffstat (limited to 'lib/hipe/icode/hipe_icode_cfg.erl')
-rw-r--r--lib/hipe/icode/hipe_icode_cfg.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/hipe/icode/hipe_icode_cfg.erl b/lib/hipe/icode/hipe_icode_cfg.erl
index b9969fa69d..9a602c0283 100644
--- a/lib/hipe/icode/hipe_icode_cfg.erl
+++ b/lib/hipe/icode/hipe_icode_cfg.erl
@@ -55,6 +55,9 @@
-spec postorder(cfg()) -> [icode_lbl()].
-spec reverse_postorder(cfg()) -> [icode_lbl()].
+-spec params(cfg()) -> hipe_icode:params().
+-spec params_update(cfg(), hipe_icode:params()) -> cfg().
+
-spec is_visited(icode_lbl(), gb_sets:set()) -> boolean().
-spec visit(icode_lbl(), gb_sets:set()) -> gb_sets:set().