Commit Graph

37 Commits

Author SHA1 Message Date
Basilisk-Dev b8f6996928 Issue #2551 - Initial attempt at toSorted implementation 2026-02-07 21:38:43 +08:00
Brian Smith b64643e410 Issue #2026 - Part 1 - Implement BigInt64 and BigUint64Array. https://bugzilla.mozilla.org/show_bug.cgi?id=1456569 2023-07-29 23:38:09 +08:00
Brian Smith f041afc61d Issue #1240 - Part 1 - Define a new BigInt primitive type. Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1366287 Part 1.0. However leaving out the --enable-bigint changes. 2023-07-25 09:08:03 +08:00
Job Bautista bbb91e4833 Issue #2246 - Implement Array find from last.
Based on the implementation from Mozilla bug 1704385.
2023-05-18 09:39:18 +08:00
Moonchild 59cf6bd808 Issue #1996 - Implement at() method on built-in indexables.
Resolves #1996
2022-09-01 10:19:41 +08:00
Moonchild dabd32f955 Issue #1656 - Part 7: Nuke vim config lines in JS 2020-09-25 22:04:24 +08:00
wolfbeast cfed2447da Revert #1137 - Remove unboxed arrays
- accounting for removal of watch()/unwatch()
- updated for intermediate code changes.
2020-02-27 07:34:50 +08:00
wolfbeast eab2558676 Revert "Issue #1382 - Remove invalid assertion."
This reverts commit 9c6a8450b3e96442035b84025b0dd13be3a9e5f8.
2020-02-27 07:33:15 +08:00
wolfbeast 47781d6165 Revert #1142 - Remove unboxed objects
- accounting for removal of watch()/unwatch()
2020-02-27 07:33:11 +08:00
wolfbeast af47c6fb4d Issue #1382 - Remove invalid assertion.
There is flexibility in exactly the value the initialized length must
hold, i.e. if an array is completely empty, it is valid for the
initialized length to be any value between zero and the length of the
array, as long as the in-memory values below the initialized length have
been initialized with a hole value.
In the case of 0, the array is packed and the move operation would be a
nop, so simply convert the assert to a condition to save some cycles.
2020-02-07 07:57:01 +08:00
Gaming4JC 4f51cc381d 1344477 - Part 2: Optimize Array.prototype.splice with JSOP_NORVCALL. 2019-07-22 19:52:27 +08:00
Gaming4JC 5b4cd90516 Fix a thread assertion in NewCopiedArrayTryUseGroup 2019-07-22 19:51:05 +08:00
Gaming4JC cc8cb910dd 1320408 - Part 14: Change some GlobalObject methods to static method. 2019-07-22 19:48:14 +08:00
Gaming4JC 7f856ff769 1320408 - Part 9: Change JSObject::setFlags and depending methods to static method. 2019-07-22 19:47:51 +08:00
Gaming4JC 87bfc02f09 1320408 - Part 4: Change JSObject::getGroup to static method. 2019-07-22 19:47:34 +08:00
Gaming4JC 07cd213071 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method. 2019-07-22 19:47:27 +08:00
wolfbeast 0221618762 Avoid type confusion in ArrayJoinDenseKernel 2019-07-08 20:28:57 +08:00
wolfbeast aa89a14709 Remove Unboxed Object code from /vm, Part 3. 2019-06-28 20:11:10 +08:00
wolfbeast 8dcf847a45 Tabs -> Spaces (no code change) 2019-06-19 21:34:41 +08:00
wolfbeast bd3135ad35 Remove/inline CanonicalizeArrayLengthValue. 2019-06-19 21:34:39 +08:00
wolfbeast 90bb3e7f1d Remove and clean up more code. 2019-06-19 21:34:34 +08:00
wolfbeast c6c456b12b Replace SetOrExtendBoxedOrUnboxedDenseElements with direct calls. 2019-06-19 21:34:33 +08:00
wolfbeast 79dfc644d3 Clean up and rename MoveBoxedOrUnboxedDenseElements. 2019-06-19 21:34:31 +08:00
wolfbeast ec0e78d127 Convert CopyBoxedOrUnboxedDenseElements to something that doesn't crash. 2019-06-19 21:34:29 +08:00
wolfbeast a7d7332c7b Fix typo in ArrayShiftMoveElements 2019-06-19 21:34:28 +08:00
wolfbeast 18166cf949 Remove functors for array natives. 2019-06-19 21:34:26 +08:00
wolfbeast 87f3c86484 Make use of ArrayObjects in favor of generic JS objects.
ArrayObjects has been a thing for years but been under-used. About time
they are used where prudent.
2019-06-19 21:34:21 +08:00
wolfbeast 1176a9ace1 Inline combined methods for NativeObject and UnboxedArrayObject accesses. 2019-06-19 21:34:19 +08:00
wolfbeast 54b6b407a9 Remove UnboxedArray code part 2 2019-06-19 21:34:02 +08:00
wolfbeast 5c15924907 Remove UnboxedArray code part 1 2019-06-19 21:33:59 +08:00
wolfbeast 37315e4898 Remove Unboxed Objects from vm/ Part 1 + fix deprot 2019-05-24 21:56:09 +08:00
wolfbeast 96c56fa091 Remove array header 2019-05-24 21:56:05 +08:00
wolfbeast 3538814b92 Implement array.flat and array.flatMap
Self-hosted implementation that adds both functions and adds them to
@@unscopables as specced in ES2019.
Resolves #1095
2019-05-24 21:54:58 +08:00
janekptacijarabaci f8591643c5 JS - support for Array.prototype.values() 2019-02-15 23:39:48 +08:00
wolfbeast ef6478af8c Revert "Enable Array.prototype.values"
This reverts commit 424ed1b165e50f2e71c082c0c70fcda2a2764d18.
2019-02-15 23:39:47 +08:00
wolfbeast 663b7836f5 Enable Array.prototype.values
This resolves #85
2019-02-15 23:39:40 +08:00
roytam1 dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00