aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode/hipe_beam_to_icode.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-02-09 12:02:06 +0100
committerBjörn Gustavsson <[email protected]>2012-02-09 12:02:06 +0100
commit34c972456ec18bf48a655ffe9d959b708053f6a0 (patch)
treef22400818753596ff2e9656461ef54343dc4e76c /lib/hipe/icode/hipe_beam_to_icode.erl
parent2907d80221da3455137aaabe92aad77411113e84 (diff)
parentad4a6862a45258b605ab7a799a5cc15c57f6f807 (diff)
downloadotp-34c972456ec18bf48a655ffe9d959b708053f6a0.tar.gz
otp-34c972456ec18bf48a655ffe9d959b708053f6a0.tar.bz2
otp-34c972456ec18bf48a655ffe9d959b708053f6a0.zip
Merge branch 'bjorn/remove-is_constant-vestiges/OTP-6454' into maint
* bjorn/remove-is_constant-vestiges/OTP-6454: HiPE: Remove support for is_constant/1 erl_lint: Remove handling of constant/1 erl_bif_types: Remove type for is_constant/1 erl_eval: Remove support for is_constant/1 Remove support for is_constant/1 in ms_transform Remove references to is_constant/1 from the match spec documentation
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),