diff options
| author | Jason Evans <jasone@canonware.com> | 2016-10-28 04:26:33 (GMT) |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2016-11-15 22:04:35 (GMT) |
| commit | 87004d238cc8db5ea531ef1900a5e6386ccd3daf (patch) | |
| tree | da90655b30cd0fb8c140bdc0c35763068ca6125d /src/jemalloc_cpp.cpp | |
| parent | 2379479225e5be5f93626e13a37577c76a670fb3 (diff) | |
| download | jemalloc-87004d238cc8db5ea531ef1900a5e6386ccd3daf.zip jemalloc-87004d238cc8db5ea531ef1900a5e6386ccd3daf.tar.gz jemalloc-87004d238cc8db5ea531ef1900a5e6386ccd3daf.tar.bz2 | |
Avoid negation of unsigned numbers.
Rather than relying on two's complement negation for alignment mask
generation, use bitwise not and addition. This dodges warnings from
MSVC, and should be strength-reduced by compiler optimization anyway.
Diffstat (limited to 'src/jemalloc_cpp.cpp')
0 files changed, 0 insertions, 0 deletions
