comparison: js/src/jit-test/tests/parallel/throw-never-executed.js
js/src/jit-test/tests/parallel/throw-never-executed.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 load(libdir + "parallelarray-helpers.js"); |
|
2 |
|
3 function inc(n) { |
|
4 if (n > 1024) |
|
5 throw n; |
|
6 return n + 1; |
|
7 } |
|
8 |
|
9 if (getBuildConfiguration().parallelJS) |
|
10 assertArraySeqParResultsEq(range(0, 512), "map", inc); |