wolfbeast
|
de1ec588d2
|
Specify an explicit offset when reporting an error for a for-of loop
whose target is an expression that begins with 'let'.
|
2019-04-13 07:01:47 +08:00 |
|
wolfbeast
|
e9b63ee1fe
|
Simplify checking of the left-hand side of assignment and compound
assignment expressions.
|
2019-04-13 07:01:45 +08:00 |
|
wolfbeast
|
d215447209
|
Remove for-in/of loop parsing code that redundantly marks the loop
target as assigned -- Parser::forHeadStart already does this.
|
2019-04-13 07:01:43 +08:00 |
|
wolfbeast
|
71dc0dd5c0
|
Report some errors about invalid left-hand-sides in for-in/of loop heads
using code with an explicitly computed offset.
|
2019-04-13 07:01:41 +08:00 |
|
wolfbeast
|
ade86b0f20
|
Report the error for uninitialized const-declaration in for(;;) loop
head using an explicit offset.
|
2019-04-13 07:01:40 +08:00 |
|
wolfbeast
|
166a9654a8
|
Remove Parser::reportWithOffset since it's no longer used.
|
2019-04-13 07:01:38 +08:00 |
|
wolfbeast
|
218c8ce05c
|
Introduce Parser::warningAt
This reduces reporting an warning at a particular offset to its bare
essentials, simplifying calls.
|
2019-04-13 07:01:36 +08:00 |
|
wolfbeast
|
8542ac5f61
|
Report for-loop-decl-with-initializer errors using a specified offset
instead of a node's offset.
|
2019-04-13 07:01:34 +08:00 |
|
wolfbeast
|
42d2e161db
|
Report bad-class-member errors using a specified offset instead of a node's offset.
|
2019-04-13 07:01:32 +08:00 |
|
wolfbeast
|
f1f8d377a9
|
Remove Parser::reportBadReturn
Report simpler errors that don't use the offset of a node as location.
|
2019-04-13 07:01:31 +08:00 |
|
wolfbeast
|
07c1fa20ea
|
Introduce Parser::errorAt
This reduces reporting an error at a particular offset to its bare
essentials, simplifying calls.
|
2019-04-13 07:01:29 +08:00 |
|
wolfbeast
|
9191d0d06b
|
Inline Parser::checkFunctionDefinition into its sole caller.
|
2019-04-13 07:01:27 +08:00 |
|
wolfbeast
|
092b87b756
|
Inline GeneratorKindFromPropertyType and AsyncKindFromPropertyType.
Trivially inlines these into their sole caller.
|
2019-04-13 07:01:25 +08:00 |
|
wolfbeast
|
da1cb60dc3
|
Move the Parser::checkFunctionDefinition call into its callers.
|
2019-04-13 07:01:23 +08:00 |
|
wolfbeast
|
5cb16b488f
|
Move part of Parser::functionDefinition into callers.
|
2019-04-13 07:01:21 +08:00 |
|
wolfbeast
|
9a97be75ac
|
Track strict mode errors in for...in and for...of correctly when
syntax-parsing.
|
2019-04-13 07:01:19 +08:00 |
|
wolfbeast
|
e92f878a93
|
Track strict mode errors in unary deletions correctly when
syntax-parsing.
|
2019-04-13 07:01:18 +08:00 |
|
wolfbeast
|
1f00dc49d4
|
Specify an explicit offset when warning about "use asm" found in the
directive prologue of a script (rather than a function body).
|
2019-04-13 07:01:16 +08:00 |
|
wolfbeast
|
a652eb1916
|
Change report at current offset to warning(), extraWarning() and error()
|
2019-04-13 07:01:14 +08:00 |
|
wolfbeast
|
70fbb46d9e
|
Remove the |bool strict| argument from the report-at-current-offset
Parser function (zeport).
zeport => qeport
|
2019-04-13 07:01:12 +08:00 |
|
wolfbeast
|
e9ffb69b02
|
Split Parser::report into Parser::zeport (a temporary name) that uses
the current offset, and Parser::reportWithNode that derives it from a
Node.
|
2019-04-13 07:01:10 +08:00 |
|
wolfbeast
|
b68de773fd
|
Stage 1-1: Implement Function.prototype.toString revision proposal.
Tag #960
|
2019-04-13 07:00:18 +08:00 |
|
adeshkp
|
521c918660
|
Remove telemetry leftovers from JS engine.
|
2019-02-16 00:27:38 +08:00 |
|
trav90
|
78d0ec7fc9
|
Call the relevant scope-data constructor when allocating it, and poison/mark as undefined the memory for the trailing array of BindingNames, ratther than impermissibly PodZero-ing non-trivial classes.
|
2019-02-16 00:12:59 +08:00 |
|
trav90
|
4cbf54089a
|
Convert the trailing array of BindingNames at the end of the various kinds 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
|
2019-02-16 00:12:57 +08:00 |
|
wolfbeast
|
b79a4ce07d
|
Silence for-each-in warnings
|
2019-02-15 23:40:55 +08:00 |
|
janekptacijarabaci
|
1fd083e81c
|
Follow up: A opening bracket { was added; Added "function()->explicitName()" instead of "function()->name()"
Issue #78
|
2019-02-15 23:38:53 +08:00 |
|
janekptacijarabaci
|
748c69d7fd
|
Part 1: Implement ES6 function name property semantics
Issue #78
|
2019-02-15 23:38:44 +08:00 |
|
janekptacijarabaci
|
e7ee7caf1e
|
Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScript
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
|
2019-02-15 23:38:38 +08:00 |
|
janekptacijarabaci
|
0e7a16c088
|
Bug 755821: Function() should use the parser's argument parsing code
|
2019-02-15 23:38:10 +08:00 |
|
Roy Tam
|
dcd9973243
|
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
|
2018-01-19 03:59:58 +08:00 |
|