aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-01-03 18:09:10 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-01-03 18:09:10 +0100
commit644a3ec2848da340490c4027df293a3136de60a4 (patch)
tree3b1ea42bcbacf42ce72e93a7b6fcf9c5f1565b6f /lib/hipe
parentbbb168d051ba1da4a6012fe59d1e034b11486f5f (diff)
downloadotp-644a3ec2848da340490c4027df293a3136de60a4.tar.gz
otp-644a3ec2848da340490c4027df293a3136de60a4.tar.bz2
otp-644a3ec2848da340490c4027df293a3136de60a4.zip
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.
Diffstat (limited to 'lib/hipe')
-rw-r--r--lib/hipe/flow/cfg.hrl5
1 files changed, 3 insertions, 2 deletions
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