summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/BytecodeCompiler.cpp
Commit message (Collapse)AuthorAgeLines
* Issue #618 - Report source position information (line/column)Moonchild2020-07-10-1/+1
| | | | | | Report source position information for module export resolution failures. Ref: BZ 1362098
* Bug 1331092 - Part 2: Implement Async Generator except yield*.Gaming4JC2019-12-17-0/+13
| | | | Tag #1287
* Bug 1343481 - Part 2: Stop using StarGegerator for async function.Gaming4JC2019-12-17-1/+1
| | | | Tag #1287
* 1216630 - Rename preludeStart and postludeEnd to toStringStart and ↵Gaming4JC2019-07-18-4/+10
| | | | toStringEnd and misc fixes.
* 1216630 - Print class source when calling toString on the constructor.Gaming4JC2019-07-18-5/+11
| | | | | | | | | | 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.
* 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method.Gaming4JC2019-07-18-1/+2
|
* Stage 1-1: Implement Function.prototype.toString revision proposal.wolfbeast2019-02-02-5/+7
| | | | Tag #960
* Part 2: Call NameFunctions after emittingjanekptacijarabaci2018-03-19-12/+15
| | | | Issue #78
* Bug 755821: Function() should use the parser's argument parsing codejanekptacijarabaci2018-03-16-76/+51
|
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+738