Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Bug 1454285 - Part 2: Disallow using innermostEmitterScope while the value ↵ | Gaming4JC | 2019-12-17 | -32/+76 |
| | | | | | | does not match the bytecode environment. Tag #1287 | |||
* | Bug 1454285 - Part 1: Specify the current scope when emitting await and ↵ | Gaming4JC | 2019-12-17 | -49/+81 |
| | | | | | | .generator. Tag #1287 | |||
* | Bug 1352312 - Enable Async Iteration. | Gaming4JC | 2019-12-17 | -20/+0 |
| | | | | Tag #1287 | |||
* | Bug 1379525 - Part 1: Await on the value before yielding or returning inside ↵ | Gaming4JC | 2019-12-17 | -9/+21 |
| | | | | | | async generator. Tag #1287 | |||
* | Bug 1364608 - Stash rval in AsyncIteratorClose. | Gaming4JC | 2019-12-17 | -2/+16 |
| | | | | Tag #1287 | |||
* | Bug 1331092 - Part 11: Await on the innerResult.value when innerResult.done ↵ | Gaming4JC | 2019-12-17 | -0/+9 |
| | | | | | | is true in yield*. Tag #1287 | |||
* | Bug 1331092 - Part 9: Implement for-await-of. | Gaming4JC | 2019-12-17 | -11/+57 |
| | | | | Tag #1287 | |||
* | Bug 1331092 - Part 7: Implement Async Generator yield*. | Gaming4JC | 2019-12-17 | -13/+125 |
| | | | | Tag #1287 | |||
* | Bug 1331092 - Part 2: Implement Async Generator except yield*. | Gaming4JC | 2019-12-17 | -16/+54 |
| | | | | Tag #1287 | |||
* | Bug 1316098 - Optimize out result object allocation for await/return in ↵ | Gaming4JC | 2019-12-17 | -4/+24 |
| | | | | | | async function. Tag #1287 | |||
* | Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make ↵ | Gaming4JC | 2019-12-17 | -106/+118 |
| | | | | | | yield/await nodes unary. Tag #1287 | |||
* | Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to ↵ | Gaming4JC | 2019-12-17 | -19/+19 |
| | | | | | | {yieldAndAwaitIndex,yieldAndAwaitOffset}. Tag #1287 | |||
* | Bug 1343481 - Part 2: Stop using StarGegerator for async function. | Gaming4JC | 2019-12-17 | -39/+44 |
| | | | | Tag #1287 | |||
* | Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() ↵ | Gaming4JC | 2019-12-17 | -18/+38 |
| | | | | | | method. Tag #1287 | |||
* | Issue #1284 - Implement /s (dotAll) for regular expressions, v2. | wolfbeast | 2019-11-18 | -0/+2 |
| | | | | Resolves #1284. | |||
* | Revert "Issue #1284 - Implement /s (dotAll) for regular expressions." | wolfbeast | 2019-11-18 | -2/+0 |
| | | | | This reverts commit f31b04a303607cd82757e7c4f60bb536658c8a30. | |||
* | Issue #1284 - Implement /s (dotAll) for regular expressions. | wolfbeast | 2019-11-18 | -0/+2 |
| | | | | Resolves #1284. | |||
* | 1353691 - Report SyntaxError when arrow function has await-identifier in ↵ | Gaming4JC | 2019-07-18 | -25/+34 |
| | | | | async function context. | |||
* | 1339395 - Part 7: Remove no longer needed check for jsid strings which are ↵ | Gaming4JC | 2019-07-18 | -42/+4 |
| | | | | indices from frontend. | |||
* | 1339395 - Part 3: Add BytecodeEmitter support for object rest and spread ↵ | Gaming4JC | 2019-07-18 | -45/+274 |
| | | | | properties. | |||
* | 1339395 - Part 2: Add parser support for rest and spread object properties. | Gaming4JC | 2019-07-18 | -6/+61 |
| | ||||
* | Refactor Token& nextToken | Gaming4JC | 2019-07-18 | -4/+5 |
| | ||||
* | 1339395 - Part 1: Align parse method for object literals to match array ↵ | Gaming4JC | 2019-07-18 | -183/+199 |
| | | | | literals. | |||
* | 1344477 - Part 1: Add JSOP_CALL_IGNORES_RV for function call that ignores ↵ | Gaming4JC | 2019-07-18 | -30/+53 |
| | | | | return value. | |||
* | Refactor abortIfSyntaxParser after destructring | Gaming4JC | 2019-07-18 | -9/+9 |
| | ||||
* | 1303703 - Part 3: Syntax parse destructuring assignment patterns. | Gaming4JC | 2019-07-18 | -198/+200 |
| | ||||
* | 1303703 - Part 2: Clean-up bits of destructuring parsing which are no longer ↵ | Gaming4JC | 2019-07-18 | -116/+54 |
| | | | | needed. | |||
* | 1303703 - Part 1: Separate binding pattern parsing from object/array literal ↵ | Gaming4JC | 2019-07-18 | -97/+331 |
| | | | | parsing. | |||
* | 420857 - Part 4: Report the position of opening bracket for missing bracket ↵ | Gaming4JC | 2019-07-18 | -1/+3 |
| | | | | error in array literal. | |||
* | 420857 - Part 3: Report the position of opening brace for missing brace ↵ | Gaming4JC | 2019-07-18 | -1/+3 |
| | | | | error in object literal. | |||
* | 420857 - Part 2: Report the position of opening brace for missing brace ↵ | Gaming4JC | 2019-07-18 | -15/+29 |
| | | | | error in block. | |||
* | 420857 - Part 1: Report the position of opening brace for missing brace ↵ | Gaming4JC | 2019-07-18 | -6/+40 |
| | | | | error in function body. | |||
* | 1357506 - Remove assert that constructorBox can only be set once when ↵ | Gaming4JC | 2019-07-18 | -33/+6 |
| | | | | | | | parsing classes. Both asm.js and syntax parsing can abort and rewind parsing of an inner function. The bookkeeping to make sure that a class's constructor FunctionBox is only set once is not worth it -- duplicate constructor definitions already throw an early error. | |||
* | 1357483 - Stop changing the end position of parenthesized expression ParseNodes. | Gaming4JC | 2019-07-18 | -1/+0 |
| | ||||
* | 1216630 - Rename preludeStart and postludeEnd to toStringStart and ↵ | Gaming4JC | 2019-07-18 | -62/+68 |
| | | | | toStringEnd and misc fixes. | |||
* | 1216630 - Print class source when calling toString on the constructor. | Gaming4JC | 2019-07-18 | -35/+140 |
| | | | | | | | | | | 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. | |||
* | 1340148 - Disallow function redeclarations at module top level. | Gaming4JC | 2019-07-18 | -5/+25 |
| | ||||
* | 104442 - Part 1: Report the position and the kind of previous declaration ↵ | Gaming4JC | 2019-07-18 | -35/+99 |
| | | | | for redeclaration error. | |||
* | 1342273 - Improve frontend tracelogging. [PARTIAL] Only implemented const to ↵ | Gaming4JC | 2019-07-18 | -16/+18 |
| | | | | rvalue changes, no tracelogging | |||
* | 1339963 - Part 3: Check IdentifierName in ExportClause without from. | Gaming4JC | 2019-07-18 | -0/+33 |
| | ||||
* | 1339963 - Part 2: Use MUST_MATCH_TOKEN for contextual keyword where it can ↵ | Gaming4JC | 2019-07-18 | -14/+2 |
| | | | | be used. | |||
* | 1339963 - Part 1: Split Parser::exportDeclaration. | Gaming4JC | 2019-07-18 | -210/+486 |
| | ||||
* | 1340089 - Check the binding name in comprehensionFor. | Gaming4JC | 2019-07-18 | -0/+2 |
| | ||||
* | 1336783 - followup: Fix rooting. | Gaming4JC | 2019-07-18 | -31/+37 |
| | ||||
* | 1336783 - Part 3 - Use simpler macro to avoid internal compiler error on ↵ | Gaming4JC | 2019-07-18 | -4/+7 |
| | | | | SM-tc(H). | |||
* | 1336783 - Part 2: Remove Parser::checkStrictBinding. | Gaming4JC | 2019-07-18 | -73/+70 |
| | ||||
* | 1336783 - Part 1: Rework on reserved word and remove TokenStream::KeywordIsName. | Gaming4JC | 2019-07-18 | -625/+858 |
| | ||||
* | 1283712 - Part 3: Add Parser::errorWithNotes and Parser::errorWithNotesAt. | Gaming4JC | 2019-07-18 | -35/+82 |
| | ||||
* | 1339137 - Don't do Annex B lexical function behavior when redeclaring a ↵ | Gaming4JC | 2019-07-18 | -5/+21 |
| | | | | parameter name in a function with parameter expressions. | |||
* | 1337143 - Tweak ExportClause parsing to eliminate a peekToken where a ↵ | Gaming4JC | 2019-07-18 | -7/+16 |
| | | | | simpler consuming getToken could be performed. |