summaryrefslogtreecommitdiff
path: root/deps/v8/src
diff options
context:
space:
mode:
authorAndrew Low <Andrew_Low@ca.ibm.com>2014-04-01 10:18:09 -0400
committerFedor Indutny <fedor@indutny.com>2014-04-01 23:17:43 +0400
commitf984555d47298cfb01b3e55c2861066379306fc3 (patch)
treebe3771704e6504a8f937bdc35fac54da37f620fd /deps/v8/src
parent8d6fa72d9720963387b73e0770eeec4dd0ba6dce (diff)
downloadnode-f984555d47298cfb01b3e55c2861066379306fc3.tar.gz
test: make test-smalloc endian aware
The test/simple/test-smalloc.js has an implicit assumption of the byte order of the data stored for Double and Uint32 values. On a big endian platform this test fails without these patches. Use os.endianness() to detect the endian of the platform and use it to gate the static value used for comparison.
Diffstat (limited to 'deps/v8/src')
0 files changed, 0 insertions, 0 deletions