mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset bab9914e9a31 (bug 853576) for SM rootanalysis orange on a CLOSED TREE.
This commit is contained in:
parent
fe282cbdab
commit
28b70be053
@ -953,7 +953,7 @@ function ParallelArrayScatter(targets, defaultValue, conflictFunc, length, mode)
|
||||
if ((t | 0) !== t)
|
||||
ThrowError(JSMSG_PAR_ARRAY_SCATTER_BAD_TARGET, i);
|
||||
|
||||
if (t < 0 || t >= length)
|
||||
if (t >= length)
|
||||
ThrowError(JSMSG_PAR_ARRAY_SCATTER_BOUNDS);
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
var len = 2;
|
||||
function add1(x) { return x+1; }
|
||||
var p = new ParallelArray(len, add1);
|
||||
var idx = [0,0].concat(build(len-4, add1)).concat([len-3,len-3]);
|
||||
var revidx = idx.reverse();
|
||||
var r = p.scatter(revidx, 0, function (x,y) { return x+y; }, len-2, {});
|
Loading…
Reference in New Issue
Block a user