diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-10-25 17:35:41 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-11-27 17:40:37 +0100 |
commit | e05a6c89abedfdff8ea16c645bd2b659c829cbfe (patch) | |
tree | debba1aeee7e9a9299892616ea93b31aed978d43 /erts/emulator/beam/erl_term.c | |
parent | bb915519aa16f6410b19c6f868805b47717f11fa (diff) | |
download | otp-e05a6c89abedfdff8ea16c645bd2b659c829cbfe.tar.gz otp-e05a6c89abedfdff8ea16c645bd2b659c829cbfe.tar.bz2 otp-e05a6c89abedfdff8ea16c645bd2b659c829cbfe.zip |
erts: Define max tuple size to 24 bits
Erlang specification 4.7.3 defines max tuple size to 65535 elements
It is now defined to 16777215 elements (24 bits)
Diffstat (limited to 'erts/emulator/beam/erl_term.c')
-rw-r--r-- | erts/emulator/beam/erl_term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_term.c b/erts/emulator/beam/erl_term.c index bf7774f882..8a78a66b74 100644 --- a/erts/emulator/beam/erl_term.c +++ b/erts/emulator/beam/erl_term.c @@ -133,7 +133,7 @@ ET_DEFINE_CHECKED(Uint,unsigned_val,Eterm,is_small); ET_DEFINE_CHECKED(Sint,signed_val,Eterm,is_small); ET_DEFINE_CHECKED(Uint,atom_val,Eterm,is_atom); ET_DEFINE_CHECKED(Uint,header_arity,Eterm,is_header); -ET_DEFINE_CHECKED(Uint,arityval,Eterm,is_arity_value); +ET_DEFINE_CHECKED(Uint,arityval,Eterm,is_sane_arity_value); ET_DEFINE_CHECKED(Uint,thing_arityval,Eterm,is_thing); ET_DEFINE_CHECKED(Uint,thing_subtag,Eterm,is_thing); ET_DEFINE_CHECKED(Eterm*,binary_val,Wterm,is_binary); |