comparison: js/src/jit-test/tests/parallel/int32-overflow.js
js/src/jit-test/tests/parallel/int32-overflow.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
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 |