aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2014-03-28 17:22:09 +0100
committerKostis Sagonas <[email protected]>2014-03-28 17:22:09 +0100
commitbebbc097314f6519e4e06b61156f13c94d1ff9eb (patch)
tree71c046a26b8116d9a5ce0dd8a70c941cce8110f5 /lib
parent3e8449e112be0fbd06786e14fd07148c1e8f5b53 (diff)
downloadotp-bebbc097314f6519e4e06b61156f13c94d1ff9eb.tar.gz
otp-bebbc097314f6519e4e06b61156f13c94d1ff9eb.tar.bz2
otp-bebbc097314f6519e4e06b61156f13c94d1ff9eb.zip
Add 'map' to the set of icode_type_test()s
Diffstat (limited to 'lib')
-rw-r--r--lib/hipe/icode/hipe_icode.hrl7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/hipe/icode/hipe_icode.hrl b/lib/hipe/icode/hipe_icode.hrl
index 25deac5152..46c04beb40 100644
--- a/lib/hipe/icode/hipe_icode.hrl
+++ b/lib/hipe/icode/hipe_icode.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2004-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2004-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -61,8 +61,8 @@
| 'op_exact_eqeq_2' | 'suspend_msg_timeout'.
-type icode_type_test() :: 'atom' | 'bignum' | 'binary' | 'bitstr' | 'boolean'
- | 'cons' | 'fixnum' | 'float'
- | 'function' | 'function2' | 'integer' | 'list' | 'nil'
+ | 'cons' | 'fixnum' | 'float' | 'function'
+ | 'function2' | 'integer' | 'list' | 'map' | 'nil'
| 'number' | 'pid' | 'port' | 'reference' | 'tuple'
| {'atom', atom()} | {'integer', integer()}
| {'record', atom(), non_neg_integer()}
@@ -108,7 +108,6 @@
length :: non_neg_integer(),
cases :: [icode_switch_case()]}).
-
-record(icode_type, {test :: icode_type_test(),
args :: [icode_term_arg()],
true_label :: icode_lbl(),