diff options
author | Sverker Eriksson <[email protected]> | 2017-07-13 17:53:51 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-07-13 17:53:51 +0200 |
commit | 50525f3f4e4d6a094d08be91bb5fe1eb5094333d (patch) | |
tree | 6e08b0b66a8f0a9e2f788da001effd79a1b60ff3 /erts/emulator/beam | |
parent | acab73f0c67cde548bdf08f332f06e4979251f83 (diff) | |
parent | baa2a2a292f9b66c343a7d5ac1835b3af2e5bb3d (diff) | |
download | otp-50525f3f4e4d6a094d08be91bb5fe1eb5094333d.tar.gz otp-50525f3f4e4d6a094d08be91bb5fe1eb5094333d.tar.bz2 otp-50525f3f4e4d6a094d08be91bb5fe1eb5094333d.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/big.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/erts/emulator/beam/big.c b/erts/emulator/beam/big.c index 7128b8ed23..5eaf262cd8 100644 --- a/erts/emulator/beam/big.c +++ b/erts/emulator/beam/big.c @@ -1293,8 +1293,11 @@ static dsize_t I_bxor(ErtsDigit* x, dsize_t xl, short xsgn, *r++ = ~c ^ *y++; x++; } - while(xl--) - *r++ = ~*x++; + while(xl--) { + DSUBb(*x,0,b,c); + *r++ = ~c; + x++; + } } else { ErtsDigit b1, b2; @@ -1312,7 +1315,9 @@ static dsize_t I_bxor(ErtsDigit* x, dsize_t xl, short xsgn, x++; y++; } while(xl--) { - *r++ = *x++; + DSUBb(*x,0,b1,c1); + *r++ = c1; + x++; } } } |