aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/cerl/cerl_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/cerl/cerl_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/cerl/cerl_to_icode.erl')
-rw-r--r--lib/hipe/cerl/cerl_to_icode.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/hipe/cerl/cerl_to_icode.erl b/lib/hipe/cerl/cerl_to_icode.erl
index 362c427cbe..089e3f021e 100644
--- a/lib/hipe/cerl/cerl_to_icode.erl
+++ b/lib/hipe/cerl/cerl_to_icode.erl
@@ -88,7 +88,6 @@
-define(TYPE_IS_ATOM, atom).
-define(TYPE_IS_BIGNUM, bignum).
-define(TYPE_IS_BINARY, binary).
--define(TYPE_IS_CONSTANT, constant).
-define(TYPE_IS_FIXNUM, fixnum).
-define(TYPE_IS_FLOAT, float).
-define(TYPE_IS_FUNCTION, function).
@@ -2051,7 +2050,6 @@ is_record_test(T, A, N, True, False, Ctxt, Env, S) ->
type_test(?PRIMOP_IS_ATOM) -> ?TYPE_IS_ATOM;
type_test(?PRIMOP_IS_BIGNUM) -> ?TYPE_IS_BIGNUM;
type_test(?PRIMOP_IS_BINARY) -> ?TYPE_IS_BINARY;
-type_test(?PRIMOP_IS_CONSTANT) -> ?TYPE_IS_CONSTANT;
type_test(?PRIMOP_IS_FIXNUM) -> ?TYPE_IS_FIXNUM;
type_test(?PRIMOP_IS_FLOAT) -> ?TYPE_IS_FLOAT;
type_test(?PRIMOP_IS_FUNCTION) -> ?TYPE_IS_FUNCTION;
@@ -2082,7 +2080,6 @@ is_bool_op(Op, A) when is_atom(Op), is_integer(A) -> false.
is_type_test(?PRIMOP_IS_ATOM, 1) -> true;
is_type_test(?PRIMOP_IS_BIGNUM, 1) -> true;
is_type_test(?PRIMOP_IS_BINARY, 1) -> true;
-is_type_test(?PRIMOP_IS_CONSTANT, 1) -> true;
is_type_test(?PRIMOP_IS_FIXNUM, 1) -> true;
is_type_test(?PRIMOP_IS_FLOAT, 1) -> true;
is_type_test(?PRIMOP_IS_FUNCTION, 1) -> true;