diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-17 15:09:05 +0000 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-17 15:09:05 +0000 |
commit | 9153838ea299da3bd00767394ff021318c1e0f12 (patch) | |
tree | 041dfcd70ccea775388369607dc437980b41d0b8 | |
parent | ef8e0ce6075150ed4501edad1376e4046cd8e3cb (diff) | |
download | UXP-9153838ea299da3bd00767394ff021318c1e0f12.tar UXP-9153838ea299da3bd00767394ff021318c1e0f12.tar.gz UXP-9153838ea299da3bd00767394ff021318c1e0f12.tar.lz UXP-9153838ea299da3bd00767394ff021318c1e0f12.tar.xz UXP-9153838ea299da3bd00767394ff021318c1e0f12.zip |
Fix typo in ArrayShiftMoveElements
-rw-r--r-- | js/src/jsarray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsarray.cpp b/js/src/jsarray.cpp index 9abc99e34..7af7c9800 100644 --- a/js/src/jsarray.cpp +++ b/js/src/jsarray.cpp @@ -2120,7 +2120,7 @@ js::ArrayShiftMoveElements(NativeObject* obj) * decremented and the result fetched, so just shift the array elements * themselves. */ - obj->moveDenseElementsNoPreBarrier(0, 1, initlen - 1); + obj->moveDenseElementsNoPreBarrier(0, 1, initlen); } static inline void |