aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-08-24 19:30:07 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-09-05 15:09:15 +0200
commit3798dc9b200fc056d3df7dbc49f0dfce4ff28722 (patch)
treec6e7cd06c36896b2581639e3742a93b1eaa57a12 /lib/hipe
parent93369eec652aa136c57fecc52182fb02449d69e6 (diff)
downloadotp-3798dc9b200fc056d3df7dbc49f0dfce4ff28722.tar.gz
otp-3798dc9b200fc056d3df7dbc49f0dfce4ff28722.tar.bz2
otp-3798dc9b200fc056d3df7dbc49f0dfce4ff28722.zip
hipe: Fix erl_types opaque match order
Diffstat (limited to 'lib/hipe')
-rw-r--r--lib/hipe/cerl/erl_types.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/cerl/erl_types.erl b/lib/hipe/cerl/erl_types.erl
index c9dd1051f3..326414b532 100644
--- a/lib/hipe/cerl/erl_types.erl
+++ b/lib/hipe/cerl/erl_types.erl
@@ -494,9 +494,9 @@ t_contains_opaque(?function(Domain, Range), Opaques) ->
t_contains_opaque(Domain, Opaques)
orelse t_contains_opaque(Range, Opaques);
t_contains_opaque(?identifier(_Types), _Opaques) -> false;
-t_contains_opaque(?integer(_Types), _Opaques) -> false;
t_contains_opaque(?int_range(_From, _To), _Opaques) -> false;
t_contains_opaque(?int_set(_Set), _Opaques) -> false;
+t_contains_opaque(?integer(_Types), _Opaques) -> false;
t_contains_opaque(?list(Type, Tail, _), Opaques) ->
t_contains_opaque(Type, Opaques) orelse t_contains_opaque(Tail, Opaques);
t_contains_opaque(?map(_, _, _) = Map, Opaques) ->