mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-21 14:47:31 +09:00
Fix typo in ArrayShiftMoveElements
This commit is contained in:
parent
18166cf949
commit
a7d7332c7b
1 changed files with 1 additions and 1 deletions
|
|
@ -2120,7 +2120,7 @@ js::ArrayShiftMoveElements(NativeObject* obj)
|
||||||
* decremented and the result fetched, so just shift the array elements
|
* decremented and the result fetched, so just shift the array elements
|
||||||
* themselves.
|
* themselves.
|
||||||
*/
|
*/
|
||||||
obj->moveDenseElementsNoPreBarrier(0, 1, initlen - 1);
|
obj->moveDenseElementsNoPreBarrier(0, 1, initlen);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue