aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode/hipe_icode.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hipe/icode/hipe_icode.hrl')
-rw-r--r--lib/hipe/icode/hipe_icode.hrl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hipe/icode/hipe_icode.hrl b/lib/hipe/icode/hipe_icode.hrl
index 9b24c4914e..3bb7bae019 100644
--- a/lib/hipe/icode/hipe_icode.hrl
+++ b/lib/hipe/icode/hipe_icode.hrl
@@ -170,8 +170,9 @@
-record(icode, {'fun' :: mfa(),
params :: [icode_var()],
+ %% TODO: merge is_closure and closure_arity into one field
is_closure :: boolean(),
- closure_arity :: arity(),
+ closure_arity = none :: 'none' | arity(),
is_leaf :: boolean(),
code = [] :: icode_instrs(),
data :: hipe_consttab(),