summaryrefslogtreecommitdiffstats
path: root/js
Commit message (Collapse)AuthorAgeLines
* Implement String.prototype.trimStart and trimEnd.wolfbeast2019-05-17-16/+22
| | | | | | This renames our internal function names because *Left and *Right might be deprecated and have to be removed later, making that trivial. Resolves #1089
* Braces and one more typo fix for commentwin7-72019-04-30-3/+5
|
* Whitespaces, typo, tabs to spacewin7-72019-04-30-7/+7
| | | Remove whitespaces, correct comment typo, one more tab to space
* Remove rest of empty lines.win7-72019-04-30-3/+1
|
* Remove some empty lineswin7-72019-04-30-7/+0
|
* Remaining tabs to spaces JavaScriptShared.cppwin7-72019-04-30-4/+4
|
* remaining tabs to space js/src/jsgc.cppwin7-72019-04-30-26/+26
|
* tab to spaces js/ipcwin7-72019-04-30-2/+2
|
* tab to spaces js/src/gcwin7-72019-04-30-21/+21
|
* tab to spaces js/srcwin7-72019-04-30-46/+46
|
* Add newline at end of fileswin7-72019-04-29-3/+3
|
* Add newline at end of file js/src/builtinwin7-72019-04-29-1/+1
|
* add newline at end of files js/src/gcwin7-72019-04-29-4/+4
|
* Add newline at end of files js/srcwin7-72019-04-29-3/+3
|
* Space to comment.win7-72019-04-29-0/+1
|
* Improve dead compartment collection js/ipcwin7-72019-04-29-4/+14
|
* Improve dead compartment collection js/src/builtinwin7-72019-04-29-7/+5
|
* Improve dead compartment collection js/src/gcwin7-72019-04-29-8/+32
|
* Improve dead compartment collection js/srcwin7-72019-04-29-91/+141
|
* Remove useless assert.wolfbeast2019-04-25-1/+0
| | | | Resolves #1055.
* Rename TokenStream::reportStrictWarningErrorNumberVA towolfbeast2019-04-06-10/+9
| | | | | | | TokenStream::reportExtraWarningErrorNumberVA for clarity. Emit Extra Warnings instead of Strict Warnings from the BCE where it makes sense.
* Remove Parser::reportHelper since it's no longer used.wolfbeast2019-04-06-27/+0
|
* Inline Parser::reportHelper into its callers.wolfbeast2019-04-06-8/+29
|
* Remove Parser::reportWithNode and its remaining callers.wolfbeast2019-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 usingwolfbeast2019-04-06-30/+27
| | | | explicitly-specified offsets.
* Simplify checking of targets within destructuring patterns.wolfbeast2019-04-06-82/+14
|
* Simplify increment/decrement operand checking.wolfbeast2019-04-06-18/+20
|
* Inline Parser::checkAssignmentToCall into its sole caller.wolfbeast2019-04-06-16/+5
|
* Specify an explicit offset when reporting an error for a for-of loopwolfbeast2019-04-06-1/+1
| | | | whose target is an expression that begins with 'let'.
* Simplify checking of the left-hand side of assignment and compoundwolfbeast2019-04-06-50/+28
| | | | assignment expressions.
* Remove for-in/of loop parsing code that redundantly marks the loopwolfbeast2019-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 headswolfbeast2019-04-06-38/+26
| | | | using code with an explicitly computed offset.
* Report the error for uninitialized const-declaration in for(;;) loopwolfbeast2019-04-06-1/+1
| | | | head using an explicit offset.
* Remove Parser::reportWithOffset since it's no longer used.wolfbeast2019-04-06-12/+0
|
* Introduce Parser::warningAtwolfbeast2019-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 offsetwolfbeast2019-04-06-2/+4
| | | | instead of a node's offset.
* Report bad-class-member errors using a specified offset instead of a node's ↵wolfbeast2019-04-06-4/+4
| | | | offset.
* Remove Parser::reportBadReturnwolfbeast2019-04-06-29/+10
| | | | Report simpler errors that don't use the offset of a node as location.
* Introduce Parser::errorAtwolfbeast2019-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.wolfbeast2019-04-06-65/+49
|
* Inline GeneratorKindFromPropertyType and AsyncKindFromPropertyType.wolfbeast2019-04-06-20/+9
| | | | Trivially inlines these into their sole caller.
* Move the Parser::checkFunctionDefinition call into its callers.wolfbeast2019-04-06-95/+116
|
* Move part of Parser::functionDefinition into callers.wolfbeast2019-04-06-20/+31
|
* Track strict mode errors in for...in and for...of correctly whenwolfbeast2019-04-05-4/+5
| | | | syntax-parsing.
* Track strict mode errors in unary deletions correctly whenwolfbeast2019-04-05-2/+24
| | | | syntax-parsing.
* Specify an explicit offset when warning about "use asm" found in thewolfbeast2019-04-05-6/+7
| | | | directive prologue of a script (rather than a function body).
* Change report at current offset to warning(), extraWarning() and error()wolfbeast2019-04-05-122/+152
|
* Remove the |bool strict| argument from the report-at-current-offsetwolfbeast2019-04-05-125/+140
| | | | | Parser function (zeport). zeport => qeport
* Split Parser::report into Parser::zeport (a temporary name) that useswolfbeast2019-04-05-209/+198
| | | | | the current offset, and Parser::reportWithNode that derives it from a Node.
* Merge branch 'master' into 816wolfbeast2019-04-05-315/+156
|\