diff options
author | Björn Gustavsson <[email protected]> | 2011-01-18 16:45:50 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-01-18 16:57:26 +0100 |
commit | 5b8609d544911b60a1c384b11d96c147128a848d (patch) | |
tree | 42f0947c42620e71250078f17d3dfd19c1982431 /lib/stdlib | |
parent | faef041a446314bb228e0e8c88a09241df2798f1 (diff) | |
download | otp-5b8609d544911b60a1c384b11d96c147128a848d.tar.gz otp-5b8609d544911b60a1c384b11d96c147128a848d.tar.bz2 otp-5b8609d544911b60a1c384b11d96c147128a848d.zip |
Lower the maximum arity from 256 to 255
Historically, for no good reason, a function is allowed to have
from 0 to 256 arguments. Thus, the number of arguments *almost*
fits into a byte.
HiPE only supports up to 255 arguments (because it assumes that
the function arity fits into a single byte), and fixing that limitation
would require ugly special-case handling. In Dialyzer, the arity
type is defined to be a byte (i.e. 0..255).
Since no-one uses functions with 256 arguments anyway, lower the
limit to 255.
Diffstat (limited to 'lib/stdlib')
0 files changed, 0 insertions, 0 deletions