From 644a3ec2848da340490c4027df293a3136de60a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Tue, 3 Jan 2012 18:09:10 +0100 Subject: hipe: Add type information to cfg_info record Type information was missing from cfg_info record. * Add any() to 'params' * Add list() to 'info' The 'params' field should be constrained to a narrower type. --- lib/hipe/flow/cfg.hrl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/hipe/flow') diff --git a/lib/hipe/flow/cfg.hrl b/lib/hipe/flow/cfg.hrl index 62f47a707a..79fe6162ad 100644 --- a/lib/hipe/flow/cfg.hrl +++ b/lib/hipe/flow/cfg.hrl @@ -36,8 +36,9 @@ is_closure :: boolean(), closure_arity :: arity(), is_leaf :: boolean(), - params, % :: list() - info = []}). %% this field seems not needed; take out?? + params :: any(), %% any() since type information is missing? + info = [] :: list() %% this field seems not needed; take out?? + }). %% %% Data is a triple with a dict of constants, a list of labels and an integer -- cgit v1.2.3