aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode/hipe_beam_to_icode.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_beam_to_icode.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_beam_to_icode.erl')
-rw-r--r--lib/hipe/icode/hipe_beam_to_icode.erl4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/hipe/icode/hipe_beam_to_icode.erl b/lib/hipe/icode/hipe_beam_to_icode.erl
index 992f387bd5..2d2b414a70 100644
--- a/lib/hipe/icode/hipe_beam_to_icode.erl
+++ b/lib/hipe/icode/hipe_beam_to_icode.erl
@@ -465,10 +465,6 @@ trans_fun([{test,is_nil,{f,Lbl},[Arg]}|Instructions], Env) ->
trans_fun([{test,is_binary,{f,Lbl},[Arg]}|Instructions], Env) ->
{Code,Env1} = trans_type_test(binary,Lbl,Arg,Env),
[Code | trans_fun(Instructions,Env1)];
-%%--- is_constant ---
-trans_fun([{test,is_constant,{f,Lbl},[Arg]}|Instructions], Env) ->
- {Code,Env1} = trans_type_test(constant,Lbl,Arg,Env),
- [Code | trans_fun(Instructions,Env1)];
%%--- is_list ---
trans_fun([{test,is_list,{f,Lbl},[Arg]}|Instructions], Env) ->
{Code,Env1} = trans_type_test(list,Lbl,Arg,Env),