mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 929280: fix ThrowError invocation arities (r=shu).
This commit is contained in:
parent
8e623301f6
commit
117a8c744d
@ -791,10 +791,10 @@ function ParallelArrayScatter(targets, defaultValue, conflictFunc, length, mode)
|
||||
var targetsLength = std_Math_min(targets.length, self.shape[0]);
|
||||
|
||||
if (targetsLength >>> 0 !== targetsLength)
|
||||
ThrowError(JSMSG_BAD_ARRAY_LENGTH, ".prototype.scatter");
|
||||
ThrowError(JSMSG_PAR_ARRAY_BAD_ARG, ".prototype.scatter length");
|
||||
|
||||
if (length >>> 0 !== length)
|
||||
ThrowError(JSMSG_BAD_ARRAY_LENGTH, ".prototype.scatter");
|
||||
ThrowError(JSMSG_PAR_ARRAY_BAD_ARG, ".prototype.scatter length");
|
||||
|
||||
parallel: for (;;) { // see ParallelArrayBuild() to explain why for(;;) etc
|
||||
if (ShouldForceSequential())
|
||||
|
Loading…
Reference in New Issue
Block a user