summaryrefslogtreecommitdiffstats
path: root/js/src/vm
Commit message (Collapse)AuthorAgeLines
* 1216630 - Print class source when calling toString on the constructor.Gaming4JC2019-07-18-5/+20
| | | | | | | | | | This is accomplished in the following ways. LazyScripts and JSScripts now have 4 offsets: - Source begin and end for the actual source. This is used for lazy parsing. - toString begin and end for toString. Some kinds of functions, like async, only have a different begin offset. Class constructors have different offsets for both begin and end. For syntactically present (i.e. non-default) constructors, the class source span is remembered directly on the LazyScript or JSScript. The toString implementation then splices out the substring directly. For default constructors, a new SRC_CLASS SrcNote type is added. It's binary and has as its arguments the begin and end offsets of the class expression or statement. MakeDefaultConstructor reads the note and overrides the cloned self-hosted function's source object. This is probably the least intrusive way to accomplish this.
* Fix a thread assertion in NewCopiedArrayTryUseGroupGaming4JC2019-07-18-2/+2
|
* 1336783 - Part 1: Rework on reserved word and remove TokenStream::KeywordIsName.Gaming4JC2019-07-18-68/+32
|
* 1283712 - Part 10: Support notes in getLastWarning shell-only testing function.Gaming4JC2019-07-18-0/+1
|
* 1332245 - Move nsScriptError from js/xpconnect to dom/bindings.Gaming4JC2019-07-18-0/+215
|
* 1283712 - Part 5: Support notes in Debugger.Gaming4JC2019-07-18-0/+36
|
* 1339137 - Don't do Annex B lexical function behavior when redeclaring a ↵Gaming4JC2019-07-18-4/+15
| | | | parameter name in a function with parameter expressions.
* 1320408 - Part 26: Remove Shape::set declaration.Gaming4JC2019-07-18-3/+0
|
* 1320408 - Part 25: Change NativeObject::toDictionaryMode to static method.Gaming4JC2019-07-18-19/+17
|
* 1320408 - Part 24: Change ↵Gaming4JC2019-07-18-33/+34
| | | | NativeObject::{fillInAfterSwap,replaceWithNewEquivalentShape,generateOwnShape,shadowingShapeChange} to static method.
* 1320408 - Part 23: Change ↵Gaming4JC2019-07-18-19/+21
| | | | RegExpObject::{getShared,createShared,dumpBytecode} to static method.
* 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and ↵Gaming4JC2019-07-18-1/+1
| | | | Wrapper::Renew.
* 1320408 - Part 19: Remove JSContext* parameter from ↵Gaming4JC2019-07-18-1/+1
| | | | ModuleObject::fixEnvironmentsAfterCompartmentMerge.
* 1320408 - Part 18: Change StringObject::init to static method.Gaming4JC2019-07-18-11/+9
|
* 1320408 - Part 17: Change NativeObject::clearFlag to static method.Gaming4JC2019-07-18-9/+8
|
* 1320408 - Part 16: Change NativeObject::removeProperty to static method.Gaming4JC2019-07-18-29/+28
|
* 1320408 - Part 15: Change NativeObject::addDataProperty to static method.Gaming4JC2019-07-18-18/+18
|
* 1320408 - Part 14: Change some GlobalObject methods to static method.Gaming4JC2019-07-18-157/+170
|
* 1320408 - Part 13: Change DebugEnvironmentProxy::getMaybeSentinelValue to ↵Gaming4JC2019-07-18-6/+8
| | | | static method.
* 1320408 - Part 12: Change JSScript::sourceData to static method.Gaming4JC2019-07-18-3/+3
|
* 1320408 - Part 9: Change JSObject::setFlags and depending methods to static ↵Gaming4JC2019-07-18-26/+29
| | | | method.
* 1320408 - Part 8: Change JSObject::reportNotConfigurable and ↵Gaming4JC2019-07-18-3/+3
| | | | JSObject::reportNotExtensible to static method.
* 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