diff options
author | Zach Bjornson <zbbjornson@gmail.com> | 2016-09-21 18:02:45 -0700 |
---|---|---|
committer | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-10-11 12:31:41 -0400 |
commit | 8a2ba6fe83ad04a60ef3060f628af2241dcbeba5 (patch) | |
tree | 93493cc27581b50f71132cdf0f47adeb7f96719c /doc/full-white-stripe.jpg | |
parent | bee1955f4e3eaaafcf2cb22ab33ff0a69b27bbc8 (diff) | |
download | node-new-8a2ba6fe83ad04a60ef3060f628af2241dcbeba5.tar.gz |
src: fix build for older clang
Removes use of builtins that are unavailable for older clang. Per
benchmarks, only uses builtins on Windows, where speedup is
significant.
Also adds test for unaligned ucs2 buffer write. Between #3410
and #7645, bytes were swapped twice on bigendian platforms if buffer
was not two-byte aligned. See comment in #7645.
PR-URL: https://github.com/nodejs/node/pull/7645
Fixes: https://github.com/nodejs/node/issues/7618
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Conflicts:
src/node_buffer.cc
Diffstat (limited to 'doc/full-white-stripe.jpg')
0 files changed, 0 insertions, 0 deletions