Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Inline Parser::reportHelper into its callers. | wolfbeast | 2019-04-06 | -8/+29 |
| | ||||
* | Remove Parser::reportWithNode and its remaining callers. | wolfbeast | 2019-04-06 | -24/+7 |
| | | | | | All of the callsites have a full ParseNode* at hand, of which the offset can be directly accessed. | |||
* | Report errors for bad increment/decrement operands using | wolfbeast | 2019-04-06 | -30/+27 |
| | | | | explicitly-specified offsets. | |||
* | Simplify checking of targets within destructuring patterns. | wolfbeast | 2019-04-06 | -81/+14 |
| | ||||
* | Simplify increment/decrement operand checking. | wolfbeast | 2019-04-06 | -17/+19 |
| | ||||
* | Inline Parser::checkAssignmentToCall into its sole caller. | wolfbeast | 2019-04-06 | -16/+5 |
| | ||||
* | Specify an explicit offset when reporting an error for a for-of loop | wolfbeast | 2019-04-06 | -1/+1 |
| | | | | whose target is an expression that begins with 'let'. | |||
* | Simplify checking of the left-hand side of assignment and compound | wolfbeast | 2019-04-06 | -50/+28 |
| | | | | assignment expressions. | |||
* | Remove for-in/of loop parsing code that redundantly marks the loop | wolfbeast | 2019-04-06 | -6/+0 |
| | | | | target as assigned -- Parser::forHeadStart already does this. | |||
* | Report some errors about invalid left-hand-sides in for-in/of loop heads | wolfbeast | 2019-04-06 | -38/+26 |
| | | | | using code with an explicitly computed offset. | |||
* | Report the error for uninitialized const-declaration in for(;;) loop | wolfbeast | 2019-04-06 | -1/+1 |
| | | | | head using an explicit offset. | |||
* | Remove Parser::reportWithOffset since it's no longer used. | wolfbeast | 2019-04-06 | -12/+0 |
| | ||||
* | Introduce Parser::warningAt | wolfbeast | 2019-04-06 | -12/+19 |
| | | | | | This reduces reporting an warning at a particular offset to its bare essentials, simplifying calls. | |||
* | Report for-loop-decl-with-initializer errors using a specified offset | wolfbeast | 2019-04-06 | -2/+2 |
| | | | | instead of a node's offset. | |||
* | Report bad-class-member errors using a specified offset instead of a node's ↵ | wolfbeast | 2019-04-06 | -4/+4 |
| | | | | offset. | |||
* | Remove Parser::reportBadReturn | wolfbeast | 2019-04-06 | -22/+3 |
| | | | | Report simpler errors that don't use the offset of a node as location. | |||
* | Introduce Parser::errorAt | wolfbeast | 2019-04-06 | -32/+42 |
| | | | | | This reduces reporting an error at a particular offset to its bare essentials, simplifying calls. | |||
* | Inline Parser::checkFunctionDefinition into its sole caller. | wolfbeast | 2019-04-06 | -65/+49 |
| | ||||
* | Inline GeneratorKindFromPropertyType and AsyncKindFromPropertyType. | wolfbeast | 2019-04-06 | -20/+9 |
| | | | | Trivially inlines these into their sole caller. | |||
* | Move the Parser::checkFunctionDefinition call into its callers. | wolfbeast | 2019-04-06 | -94/+115 |
| | ||||
* | Move part of Parser::functionDefinition into callers. | wolfbeast | 2019-04-06 | -20/+31 |
| | ||||
* | Track strict mode errors in for...in and for...of correctly when | wolfbeast | 2019-04-05 | -4/+5 |
| | | | | syntax-parsing. | |||
* | Track strict mode errors in unary deletions correctly when | wolfbeast | 2019-04-05 | -2/+24 |
| | | | | syntax-parsing. | |||
* | Specify an explicit offset when warning about "use asm" found in the | wolfbeast | 2019-04-05 | -6/+7 |
| | | | | directive prologue of a script (rather than a function body). | |||
* | Change report at current offset to warning(), extraWarning() and error() | wolfbeast | 2019-04-05 | -122/+152 |
| | ||||
* | Remove the |bool strict| argument from the report-at-current-offset | wolfbeast | 2019-04-05 | -125/+140 |
| | | | | | Parser function (zeport). zeport => qeport | |||
* | Split Parser::report into Parser::zeport (a temporary name) that uses | wolfbeast | 2019-04-05 | -209/+198 |
| | | | | | the current offset, and Parser::reportWithNode that derives it from a Node. | |||
* | Stage 1-1: Implement Function.prototype.toString revision proposal. | wolfbeast | 2019-02-02 | -76/+154 |
| | | | | Tag #960 | |||
* | Remove telemetry leftovers from JS engine. | adeshkp | 2019-01-30 | -15/+0 |
| | ||||
* | Call the relevant scope-data constructor when allocating it, and poison/mark ↵ | trav90 | 2018-09-02 | -5/+3 |
| | | | | as undefined the memory for the trailing array of BindingNames, ratther than impermissibly PodZero-ing non-trivial classes. | |||
* | Convert the trailing array of BindingNames at the end of the various kinds ↵ | trav90 | 2018-09-02 | -36/+47 |
| | | | | of scope data into raw unsigned chars into which those BindingNames are placement-new'd, rather than memcpy-ing non-trivial classes around and failing to comply with the C++ object model | |||
* | Silence for-each-in warnings | wolfbeast | 2018-04-05 | -2/+3 |
| | ||||
* | Bug 1360839 - Call IteratorClose due to abrupt completion from yield | janekptacijarabaci | 2018-03-25 | -9/+65 |
| | | | | Issue #74 | |||
* | Bug 1357075 - Pad a nop to unwind to the scope just before a destructuring ↵ | janekptacijarabaci | 2018-03-25 | -0/+8 |
| | | | | | | iterator close trynote Issue #74 | |||
* | Bug 1346862 - Fix IteratorClose due to non-local jumps being catchable by ↵ | janekptacijarabaci | 2018-03-25 | -15/+7 |
| | | | | | | try statements inside for-of Issue #74 | |||
* | Bug 1342553, Bug 1343072, Bug 1344753 (details in the description) | janekptacijarabaci | 2018-03-25 | -148/+311 |
| | | | | | | | | | | Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in JSTRY_FOR_OF Bug 1344753 - Update for-of stack depth in ControlFlowGenerator::processWhileOrForInLoop Issue #74 | |||
* | Bug 1338796 - Do not call iterator.return if iterator.throw is present in yield* | janekptacijarabaci | 2018-03-25 | -125/+159 |
| | | | | Issue #74 | |||
* | Bug 1322069 - Add TryEmitter | janekptacijarabaci | 2018-03-25 | -169/+341 |
| | | | | Issue #74 | |||
* | Bug 1334799 - Handle stack value in correct order when leaving for-of loop ↵ | janekptacijarabaci | 2018-03-25 | -3/+3 |
| | | | | | | from finally block Issue #74 | |||
* | Bug 1332881 - Handle stack value in correct order when leaving loop and ↵ | janekptacijarabaci | 2018-03-25 | -0/+6 |
| | | | | | | try-finally Issue #74 | |||
* | Bug 1147371: Implement calling IteratorClose and "return" on iterators in yield* | janekptacijarabaci | 2018-03-24 | -28/+52 |
| | | | | Issue #74 | |||
* | Bug 1147371: Implement IteratorClose for array destructuring | janekptacijarabaci | 2018-03-24 | -93/+128 |
| | | | | Issue #74 | |||
* | Bug 1147371: Rename allowContentSpread to allowContentIter | janekptacijarabaci | 2018-03-24 | -11/+21 |
| | | | | Issue #74 | |||
* | Bug 1147371: Implement IteratorClose for for-of | janekptacijarabaci | 2018-03-24 | -164/+461 |
| | | | | Issue #74 | |||
* | Bug 1204028: Evaluate LHS reference before RHS in destructuring | janekptacijarabaci | 2018-03-20 | -93/+202 |
| | | | | | Issue #73 [Depends on] Bug 1147371: Implement IteratorClose | |||
* | Bug 1322314 - Do not emit ParseNode twice in ↵ | janekptacijarabaci | 2018-03-20 | -139/+119 |
| | | | | | | | BytecodeEmitter::emitDestructuringOpsArray Issue #73 [Depends on] Bug 1147371: Implement IteratorClose | |||
* | Bug 1322314 - Disallow emitting ParseNode twice | janekptacijarabaci | 2018-03-20 | -31/+6 |
| | | | | | Issue #73 [Depends on] Bug 1147371: Implement IteratorClose | |||
* | Follow up: A opening bracket { was added; Added "function()->explicitName()" ↵ | janekptacijarabaci | 2018-03-19 | -2/+2 |
| | | | | | | instead of "function()->name()" Issue #78 | |||
* | Part 2: Call NameFunctions after emitting | janekptacijarabaci | 2018-03-19 | -14/+15 |
| | | | | Issue #78 | |||
* | Part 1: Implement ES6 function name property semantics | janekptacijarabaci | 2018-03-19 | -24/+178 |
| | | | | Issue #78 |