aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode/hipe_icode_type.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-01-04 11:28:31 +0100
committerBjörn Gustavsson <[email protected]>2012-01-26 10:53:07 +0100
commitad4a6862a45258b605ab7a799a5cc15c57f6f807 (patch)
tree4347fbd70d2f29c53522108ead8d365291d7e14a /lib/hipe/icode/hipe_icode_type.erl
parent81812b34873a71ed7904456da864f426850cbe8a (diff)
downloadotp-ad4a6862a45258b605ab7a799a5cc15c57f6f807.tar.gz
otp-ad4a6862a45258b605ab7a799a5cc15c57f6f807.tar.bz2
otp-ad4a6862a45258b605ab7a799a5cc15c57f6f807.zip
HiPE: Remove support for is_constant/1
Diffstat (limited to 'lib/hipe/icode/hipe_icode_type.erl')
-rw-r--r--lib/hipe/icode/hipe_icode_type.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/hipe/icode/hipe_icode_type.erl b/lib/hipe/icode/hipe_icode_type.erl
index 3f9488d7c3..cae4325b9e 100644
--- a/lib/hipe/icode/hipe_icode_type.erl
+++ b/lib/hipe/icode/hipe_icode_type.erl
@@ -899,9 +899,7 @@ test_type0(list, T) ->
test_type0(cons, T) ->
t_is_cons(T);
test_type0(nil, T) ->
- t_is_nil(T);
-test_type0(constant, T) ->
- t_is_constant(T).
+ t_is_nil(T).
true_branch_info(integer) ->
@@ -940,8 +938,6 @@ true_branch_info(nil) ->
t_nil();
true_branch_info(boolean) ->
t_boolean();
-true_branch_info(constant) ->
- t_constant();
true_branch_info(T) ->
exit({?MODULE,unknown_typetest,T}).