diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-06-17 17:33:29 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-24 16:22:30 +0200 |
commit | 1c86a620d74f4f9383c4956dafd3e2486300dc0d (patch) | |
tree | dcd5c82bec090b26a58f89b9d00151fee595be02 /erts/emulator/beam/erl_bits.c | |
parent | cb67108e19d02e41a3cffde0eabfce3614657f3f (diff) | |
download | otp-1c86a620d74f4f9383c4956dafd3e2486300dc0d.tar.gz otp-1c86a620d74f4f9383c4956dafd3e2486300dc0d.tar.bz2 otp-1c86a620d74f4f9383c4956dafd3e2486300dc0d.zip |
erts: Remove HALFWORD_HEAP definition
Diffstat (limited to 'erts/emulator/beam/erl_bits.c')
-rw-r--r-- | erts/emulator/beam/erl_bits.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_bits.c b/erts/emulator/beam/erl_bits.c index 01734c55d7..11d83686a3 100644 --- a/erts/emulator/beam/erl_bits.c +++ b/erts/emulator/beam/erl_bits.c @@ -282,7 +282,7 @@ erts_bs_get_integer_2(Process *p, Uint num_bits, unsigned flags, ErlBinMatchBuff * Simply shift whole bytes into the result. */ switch (BYTE_OFFSET(n)) { -#if defined(ARCH_64) && !HALFWORD_HEAP +#if defined(ARCH_64) case 7: w = (w << 8) | *bp++; case 6: w = (w << 8) | *bp++; case 5: w = (w << 8) | *bp++; @@ -387,7 +387,7 @@ erts_bs_get_integer_2(Process *p, Uint num_bits, unsigned flags, ErlBinMatchBuff case 3: v32 = LSB[0] + (LSB[1]<<8) + (LSB[2]<<16); goto big_small; -#if !defined(ARCH_64) || HALFWORD_HEAP +#if !defined(ARCH_64) case 4: v32 = (LSB[0] + (LSB[1]<<8) + (LSB[2]<<16) + (LSB[3]<<24)); if (!IS_USMALL(sgn, v32)) { |