diff options
author | Björn Gustavsson <[email protected]> | 2017-10-01 07:02:44 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-10-01 07:02:44 +0200 |
commit | f75fa8129fcd18fc56407778960252e6c10a3a37 (patch) | |
tree | ce8b3ed6fe4b46ac142cb2d88ea0dc5a3c776377 /erts/emulator/beam/erl_term.h | |
parent | 87deee8a9513714317ce7b620d3260314aad3f1e (diff) | |
parent | 281ae7c2cf7e2dfd48cf50b2f68fd76f7c6ab0e2 (diff) | |
download | otp-f75fa8129fcd18fc56407778960252e6c10a3a37.tar.gz otp-f75fa8129fcd18fc56407778960252e6c10a3a37.tar.bz2 otp-f75fa8129fcd18fc56407778960252e6c10a3a37.zip |
Merge pull request #1583 from bjorng/bjorn/erts/simplify-is_ssmall
Eliminate MY_IS_SSMALL()
Diffstat (limited to 'erts/emulator/beam/erl_term.h')
-rw-r--r-- | erts/emulator/beam/erl_term.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_term.h b/erts/emulator/beam/erl_term.h index 842802f8d9..6daf043117 100644 --- a/erts/emulator/beam/erl_term.h +++ b/erts/emulator/beam/erl_term.h @@ -270,7 +270,6 @@ _ET_DECLARE_CHECKED(Eterm*,list_val,Wterm) #define is_byte(x) (((x) & ((~(Uint)0 << (_TAG_IMMED1_SIZE+8)) + _TAG_IMMED1_MASK)) == _TAG_IMMED1_SMALL) #define is_valid_bit_size(x) (((Sint)(x)) >= 0 && ((x) & 0x7F) == _TAG_IMMED1_SMALL) #define is_not_valid_bit_size(x) (!is_valid_bit_size((x))) -#define MY_IS_SSMALL(x) (((Uint) ((((x)) >> (SMALL_BITS-1)) + 1)) < 2) #define _unchecked_unsigned_val(x) ((x) >> _TAG_IMMED1_SIZE) _ET_DECLARE_CHECKED(Uint,unsigned_val,Eterm) #define unsigned_val(x) _ET_APPLY(unsigned_val,(x)) |