diff options
author | LemonBoy <LemonBoy@users.noreply.github.com> | 2018-10-18 14:30:31 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-10-18 14:30:31 +0200 |
commit | 1fe949b9d5f3b5128fe44fd566c434648e880eb1 (patch) | |
tree | de88d5a81130fef8827fd65d482b3c9e9cb31c5d /tests/stdlib | |
parent | e66b51eb16a38bc70e1bcf44071d2c380b956365 (diff) | |
download | Nim-1fe949b9d5f3b5128fe44fd566c434648e880eb1.tar.gz |
Make the swap procs safe for unaligned input ptrs (#9210)
* Make the swap procs safe for unaligned input ptrs The copy to a temporary local variable is often elided by a sufficiently smart compiler when it can prove the input pointer is aligned. Refs #9206 * Explain why copyMem is used
Diffstat (limited to 'tests/stdlib')
0 files changed, 0 insertions, 0 deletions