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 /js/src/jsarray.cpp | |
parent | ef8e0ce6075150ed4501edad1376e4046cd8e3cb (diff) | |
download | uxp-9153838ea299da3bd00767394ff021318c1e0f12.tar.gz |
Fix typo in ArrayShiftMoveElements
Diffstat (limited to 'js/src/jsarray.cpp')
-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 9abc99e347..7af7c98001 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 |