aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/rtl/hipe_icode2rtl.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2014-03-19 15:21:01 +0100
committerKostis Sagonas <[email protected]>2014-03-19 15:21:01 +0100
commit889bafdfa1a65e2681e9e719b7e907eb7f6024e0 (patch)
tree3b152cd6a786411713a8671e4718d4a7aafbb934 /lib/hipe/rtl/hipe_icode2rtl.erl
parentc2c04e2600ec46434f99e34791dc551ead8d72c2 (diff)
downloadotp-889bafdfa1a65e2681e9e719b7e907eb7f6024e0.tar.gz
otp-889bafdfa1a65e2681e9e719b7e907eb7f6024e0.tar.bz2
otp-889bafdfa1a65e2681e9e719b7e907eb7f6024e0.zip
Remove RTL code that handled the (is_)constant guard
The (is_)constant/1 guard is removed from Erlang long ago and thus there is no need to handle it in RTL. While editing these files, also performed some minor cleanup.
Diffstat (limited to 'lib/hipe/rtl/hipe_icode2rtl.erl')
-rw-r--r--lib/hipe/rtl/hipe_icode2rtl.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/hipe/rtl/hipe_icode2rtl.erl b/lib/hipe/rtl/hipe_icode2rtl.erl
index 034153a3cb..6ab40adcc8 100644
--- a/lib/hipe/rtl/hipe_icode2rtl.erl
+++ b/lib/hipe/rtl/hipe_icode2rtl.erl
@@ -427,8 +427,6 @@ gen_type_test([X], Type, TrueLbl, FalseLbl, Pred, ConstTab) ->
hipe_rtl:mk_branch(X, eq, TmpF, TrueLbl, FalseLbl, Pred)], ConstTab};
cons ->
{hipe_tagscheme:test_cons(X, TrueLbl, FalseLbl, Pred), ConstTab};
- constant ->
- {hipe_tagscheme:test_constant(X, TrueLbl, FalseLbl, Pred), ConstTab};
fixnum ->
{hipe_tagscheme:test_fixnum(X, TrueLbl, FalseLbl, Pred), ConstTab};
float ->