diff options
author | Björn Gustavsson <[email protected]> | 2012-01-04 11:28:31 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-01-26 10:53:07 +0100 |
commit | ad4a6862a45258b605ab7a799a5cc15c57f6f807 (patch) | |
tree | 4347fbd70d2f29c53522108ead8d365291d7e14a /lib/hipe/icode/hipe_beam_to_icode.erl | |
parent | 81812b34873a71ed7904456da864f426850cbe8a (diff) | |
download | otp-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.erl | 4 |
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), |