diff options
author | Björn Gustavsson <[email protected]> | 2012-02-09 12:02:06 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-02-09 12:02:06 +0100 |
commit | 34c972456ec18bf48a655ffe9d959b708053f6a0 (patch) | |
tree | f22400818753596ff2e9656461ef54343dc4e76c /lib/hipe/icode/hipe_beam_to_icode.erl | |
parent | 2907d80221da3455137aaabe92aad77411113e84 (diff) | |
parent | ad4a6862a45258b605ab7a799a5cc15c57f6f807 (diff) | |
download | otp-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.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), |