js/src/jit-test/tests/parallel/arguments-index.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:fe41ab2f8d37
1 load(libdir + "parallelarray-helpers.js");
2
3 if (getBuildConfiguration().parallelJS) {
4 assertParallelExecSucceeds(
5 function (m) {
6 return Array.buildPar(minItemsTestingThreshold,
7 function (i) { return arguments[0]; },
8 m);
9 },
10 function (r) {
11 assertStructuralEq(Array.build(minItemsTestingThreshold,
12 function (i) { return arguments[0]; }),
13 r);
14 });
15 }

mercurial