summaryrefslogtreecommitdiffstats
path: root/js/src/vm
Commit message (Collapse)AuthorAgeLines
* 1320408 - Part 7: Remove JSContext* parameter from ↵Gaming4JC2019-07-18-1/+1
| | | | JSObject::shouldSplicePrototype.
* 1320408 - Part 6: Change JSObject::splicePrototype to static method.Gaming4JC2019-07-18-7/+6
|
* 1320408 - Part 5: Change JSObject::constructorDisplayAtom to static method.Gaming4JC2019-07-18-1/+1
|
* 1320408 - Part 4: Change JSObject::getGroup to static method.Gaming4JC2019-07-18-9/+15
|
* 1320408 - Part 3: Remove JSContext* parameter from ↵Gaming4JC2019-07-18-1/+1
| | | | JSFunction::getBoundFunctionArgument.
* 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method.Gaming4JC2019-07-18-19/+27
|
* 1320408 - Part 1: Change JSFunction::getLength and ↵Gaming4JC2019-07-18-2/+2
| | | | JSFunction::getUnresolvedLength to static method.
* 1175823 - Implement [[DefineOwnProperty]] for mapped arguments object.Gaming4JC2019-07-18-1/+70
|
* 1333143 - Self-host Object.prototype.valueOf.Gaming4JC2019-07-18-0/+1
|
* 903389 - Fix uses of ClassMethodIsNative.Gaming4JC2019-07-18-13/+0
|
* Remove anyNewScript()wolfbeast2019-06-26-12/+3
|
* Remove UnboxedObjects ObjectGroup addendumwolfbeast2019-06-25-28/+5
|
* Remove Unboxed Object code from /vm, Part 3.wolfbeast2019-06-25-1538/+12
|
* Remove Unboxed Object code from jit, Part 2.wolfbeast2019-06-23-199/+2
|
* Merge pull request #1137 from MoonchildProductions/remove-unboxed-checkedMoonchild2019-06-19-1824/+88
|\ | | | | Remove unboxed (checked branch)
| * Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again.wolfbeast2019-06-18-12/+2
| |
| * Update commentwolfbeast2019-06-18-4/+2
| |
| * Remove and clean up more code.wolfbeast2019-06-18-39/+8
| |
| * Replace SetOrExtendBoxedOrUnboxedDenseElements with direct calls.wolfbeast2019-06-18-38/+41
| |
| * Clean up and rename MoveBoxedOrUnboxedDenseElements.wolfbeast2019-06-18-16/+0
| |
| * Convert CopyBoxedOrUnboxedDenseElements to something that doesn't crash.wolfbeast2019-06-17-18/+0
| |
| * Remove functors for array natives.wolfbeast2019-06-12-121/+0
| |
| * Remove unboxed array context option and shell flag.wolfbeast2019-06-12-13/+0
| |
| * Make use of ArrayObjects in favor of generic JS objects.wolfbeast2019-06-12-14/+11
| | | | | | | | | | ArrayObjects has been a thing for years but been under-used. About time they are used where prudent.
| * Inline combined methods for NativeObject and UnboxedArrayObject accesses.wolfbeast2019-06-10-129/+9
| |
| * Merge branch 'master' into remove-unboxedwolfbeast2019-06-08-2/+6
| |\
| * | Remove UnboxedArray code part 2wolfbeast2019-05-23-1499/+94
| | |
* | | Add Atomics.notify instead of Atomics.wake according to revised spec.wolfbeast2019-06-12-1/+1
| |/ |/| | | | | | | - Keep .wake as an alias until we're certain it can be removed. - Enable SAB memory
* | Merge pull request #1091 from MoonchildProductions/remove-unboxedMoonchild2019-05-22-445/+5
|\| | | | | Remove unboxed objects phase 1
| * Remove Unboxed Objects from vm/ - Part 2wolfbeast2019-05-16-6/+0
| |
| * Remove unboxed object code from jit, Part 1wolfbeast2019-05-16-12/+0
| |
| * Remove Unboxed Objects from vm/ Part 1 + fix deprotwolfbeast2019-05-16-15/+5
| |
| * Remove initial chunk of Unboxed Objects machinery part 2wolfbeast2019-05-15-12/+0
| |
| * remove unboxed code chunk (wip1)wolfbeast2019-05-14-400/+0
| |
* | Implement array.flat and array.flatMapwolfbeast2019-05-19-0/+2
| | | | | | | | | | | | Self-hosted implementation that adds both functions and adds them to @@unscopables as specced in ES2019. Resolves #1095
* | Implement String.prototype.trimStart and trimEnd.wolfbeast2019-05-17-2/+4
|/ | | | | | This renames our internal function names because *Left and *Right might be deprecated and have to be removed later, making that trivial. Resolves #1089
* Issue #187: Remove solaris conditional code.wolfbeast2019-03-30-11/+0
|
* Remove a couple of unused variablesadeshkp2019-03-14-1/+0
|
* Align `instanceof` with the final ES6 spec.wolfbeast2019-02-07-10/+7
|
* Remove telemetry leftovers from JS engine.adeshkp2019-01-30-88/+0
|
* Reduce number of allocations in AutoStopwatchDavid Teller2019-01-29-5/+20
| | | | | | | | | | | | | | | This patch fixes two related issues. 1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to communicate with its callback during each compartment switch. This vector was designed to allow its contents to be stack-allocated but they turned out to be accidentally heap-allocated. 2. During each tick, the stopwatch fills a vector `recentGroups_`. This vector always started with minimal capacity and had to grow repeatedly as groups were added, causing repeated reallocations. This patch preallocates `recentGroups_` to have the same capacity as the previous tick. We expect that this should eventually reach a stable size that closely matches the actual needs of the process.
* Revert "Reduce number of allocations in AutoStopwatch"wolfbeast2019-01-29-17/+7
| | | | This reverts commit 3476c1d60ec29c5497123194acd7a9310b1023d2.
* Reduce number of allocations in AutoStopwatchDavid Teller2019-01-28-7/+17
| | | | | | | | | | | | | | | This patch fixes two related issues. 1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to communicate with its callback during each compartment switch. This vector was designed to allow its contents to be stack-allocated but they turned out to be accidentally heap-allocated. 2. During each tick, the stopwatch fills a vector `recentGroups_`. This vector always started with minimal capacity and had to grow repeatedly as groups were added, causing repeated reallocations. This patch preallocates `recentGroups_` to have the same capacity as the previous tick. We expect that this should eventually reach a stable size that closely matches the actual needs of the process.
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-7/+0
|
* Use canonical function in TypeNewScript::rollbackPartiallyInitializedObjects.wolfbeast2018-12-13-7/+13
|
* Rename TypeSet::clone to TypeSet::cloneIntoUninitialized to indicate that it ↵trav902018-09-19-9/+11
| | | | | | freshly initializes the TemporaryTypeSet* provided to it. Also removes existing code that, quite unnecessarily, partly initialized that argument.
* Don't use PodCopy/PodMove to implement typed-array element-to-element copyingtrav902018-09-19-4/+17
| | | | Standard std::copy and std::copy_n are readily optimized to the same thing, and they don't have a non-obvious requirement that the type being copied be trivial.
* Give uint8_clamped a defaulted (and also trivial) default constructor, copy ↵trav902018-09-19-6/+3
| | | | | | constructor, and copy-assignment operator. This also allows uint8_clamped to be permissibly memmove'd and memcpy'd.
* Stop using PodZero in several places to initialize values of non-trivial typetrav902018-09-12-29/+33
|
* Fix build bustagetrav902018-09-02-1/+1
|