js/src/jit-test/tests/parallel/int32-overflow.js

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:91e03854c11a
1 function testMap() {
2 // Test overflow
3 var p = [1 << 30];
4 var m = p.mapPar(function(x) { return x * 4; });
5 assertEq(m[0], (1 << 30) * 4);
6 }
7
8 if (getBuildConfiguration().parallelJS)
9 testMap();
10

mercurial