Chromium Code Reviews
Descriptionbase: Use compiler builtins for byte swapping
Blink/WTF already makes use of compiler builtins for endian byte
swapping so do the same in Chromium base itself.
BUG=620779
TEST=base_unittests:ByteOrderTest.*
Committed: https://crrev.com/1a09b177d4641f50d96c82218c0fd0155d27ae4f
Cr-Commit-Position: refs/heads/master@{#400540}
Patch Set 1 #Patch Set 2 : Add unittests #Patch Set 3 : add <stdlib.h> to sys_byteorder.h #
Messages
Total messages: 17 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||