Commit Graph

126 Commits

Author SHA1 Message Date
Fedor
3f4ebd1610 Remove unused checking function for unboxed types. 2019-09-05 20:08:46 +03:00
Fedor
958fd32faf Define JumpImmediateRange on ARM64. 2019-09-05 20:08:21 +03:00
Fedor
7cd52f3f78 Fix order of OwnProperty check for rest parameters. 2019-09-05 20:07:24 +03:00
Fedor
12ab86e3f5 1353691 - Report SyntaxError when arrow function has await-identifier... 2019-09-05 20:07:21 +03:00
Fedor
08f2c13914 1344334 - Make DoTypeUpdateFallback infallible. 2019-09-05 20:07:18 +03:00
Fedor
32bc386753 1339395 - Implement Object Rest/Spread Properties proposal. 2019-09-05 20:07:15 +03:00
Fedor
dbc2e38812 Refactor Token& nextToken. 2019-09-05 20:07:11 +03:00
Fedor
11748e030a 1344477 - Add dedicated opcode for function call ignoring return value. 2019-09-05 20:07:08 +03:00
Fedor
6083e3130a Refactor abortIfSyntaxParser after destructring. 2019-09-05 20:07:05 +03:00
Fedor
d7a91d9be2 1303703 - Syntax parse destructuring patterns. 2019-09-05 20:07:03 +03:00
Fedor
713888bd05 420857 - Syntax error for missing brace should mention the line number of the opening brace. 2019-09-05 20:07:00 +03:00
Fedor
d3e6886052 1357506 - Remove assert that constructorBox can only be set once when parsing classes. 2019-09-05 20:06:56 +03:00
Fedor
f324d6470a 1359622 - Fix assert for calling Function.toString... 2019-09-05 20:06:53 +03:00
Fedor
4b0d0e0c78 1364573 - Don't relazify class default constructors. 2019-09-05 20:06:50 +03:00
Fedor
8d007f4de3 1357483 - Stop changing the end position of parenthesized expression ParseNodes. 2019-09-05 20:06:47 +03:00
Fedor
3464bbc4ce 1216630 - Function.prototype.toString() on class must not return function source code string. 2019-09-05 20:06:35 +03:00
Fedor
0154fa01b6 1340148 - Disallow function redeclarations at module top level. 2019-09-05 20:06:33 +03:00
Fedor
bc64f5e333 104442 - JS Engine doesn't appear to know where a variable was declared. 2019-09-05 20:06:29 +03:00
Fedor
4cb03fb6ec 1342273 - Improve frontend tracelogging [PARTIAL]. 2019-09-05 20:06:26 +03:00
Fedor
269640d89b 1339963 - export {...} without /from/ should check names against Reserved Words. 2019-09-05 20:06:24 +03:00
Fedor
e0ea453381 Fix a thread assertion in NewCopiedArrayTryUseGroup. 2019-09-05 20:06:21 +03:00
Fedor
5b5c069d0c 1317387: The intrinsic function should be frozen. 2019-09-05 20:06:18 +03:00
Fedor
0e170d0294 1340089 - Check the binding name in comprehensionFor. 2019-09-05 20:06:15 +03:00
Fedor
2bb2a37638 1336783 - Remove TokenStream::KeywordIsName. 2019-09-05 20:06:12 +03:00
Fedor
165084547d Make JSErrorNotes Single Threaded. 2019-09-05 20:06:09 +03:00
Fedor
0e2b6e8609 1283712 - Add a mechanism to add notes for an error message. 2019-09-05 20:06:06 +03:00
Fedor
8a0e23aadb 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. 2019-09-05 20:06:03 +03:00
Fedor
f4a5088c68 1339137 - Don't do Annex B lexical function behavior. 2019-09-05 20:06:00 +03:00
Fedor
c979d57203 1337143 - Tweak the parser to eliminate two complexifying peekTokens where getToken could be used. 2019-09-05 20:05:57 +03:00
Fedor
df9455157d 1320408 - Change method that does GC on |this| to static method with Handle parameter. 2019-09-05 20:05:54 +03:00
Fedor
8e874d3abd 1175823 - Implement [[DefineOwnProperty]] for mapped arguments object. 2019-09-05 20:05:50 +03:00
Fedor
164918e9fc 1333045 - Update Location object properties to current spec. 2019-09-05 20:05:47 +03:00
Fedor
6445606f38 1333143 - Self-host Object.prototype.valueOf. 2019-09-05 20:05:43 +03:00
Fedor
2224892a76 903389 - valueOf getter not called for ToPrimitive conversion on wrapper types. 2019-09-05 20:05:41 +03:00
Fedor
1531bf5860 1317375 - Implement "Template Literals Revision.." ECMAScript proposal. 2019-09-05 20:05:37 +03:00
Fedor
72a5ed990a 1317374 - Don't do Annex B lexical function behavior when redeclaring a parameter name. 2019-09-05 20:05:35 +03:00
Fedor
a75c03ed8a 1323324 - Make Promise::unforgeable{Resolve,Reject} spec-compliant. 2019-09-05 20:05:31 +03:00
Fedor
9e9223be14 1325606 - Return wrapped async function from caller property. 2019-09-05 20:05:29 +03:00
Fedor
5f8341bf16 1326454 - Make TokenStream report OOM immediately. 2019-09-05 20:05:26 +03:00
Fedor
91a06d9871 1325157 - Implement a ParserBase class that holds functionality that's identical. 2019-09-05 20:05:23 +03:00
Fedor
2f875f554c 1325473 - A TypeError should be thrown when accessing 'arguments' or 'caller' on any of the new function types. 2019-09-05 20:05:20 +03:00
Fedor
07c18a52b1 1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox. 2019-09-05 20:05:17 +03:00
Fedor
8b786c6485 636635 - Do not create named lambda binding for a function created by Function constructor. 2019-09-05 20:05:14 +03:00
Fedor
15f2efd681 1317379 - Disallow generator functions and async functions as direct children of if/else. 2019-09-05 20:05:11 +03:00
Fedor
2382e23ae8 1296814 - Move FunctionDeclaration... 2019-09-05 20:05:08 +03:00
Fedor
184697b9c4 1317153 - Error for incorrect usage of await keyword is not helpful. 2019-09-05 20:05:05 +03:00
Fedor
943a0d43ee 1317090 - Remove js::FindBody. 2019-09-05 20:05:02 +03:00
Fedor
58fb36de9e 1315815 - Don't treat async or await as a keyword when they contain escapes. 2019-09-05 20:04:59 +03:00
Fedor
774cc9c944 Avoid type confusion in ArrayJoinDenseKernel. 2019-09-05 20:03:42 +03:00
Fedor
b77e431bb6 Remove anyNewScript() 2019-07-08 13:10:11 +03:00
Fedor
99e451fe76 Clean up MObjectState 2019-07-08 13:10:08 +03:00
Fedor
d3b44d18fd Call a more generic function when inlining array natives. 2019-07-08 13:09:44 +03:00
Fedor
a88dad9fed Update intl tzdata 2019-07-08 13:09:38 +03:00
Fedor
12db4f07ea [js, ARM] Always check error return from BufferOffset::diffB. 2019-07-08 13:09:08 +03:00
Fedor
6c6cadc8de Fix architecture flag for PPC64 2019-07-08 13:09:01 +03:00
Fedor
e0a58925d9 Rewrite atomization 2019-07-08 13:08:56 +03:00
Fedor
e2d5ce2fef Remove unboxed object code from js 2019-07-08 13:08:41 +03:00
Fedor
c2483721f0 Implement Symbol prototype 2019-07-08 13:08:37 +03:00
Fedor
7fd9c4b7e3 Implement array.flat and array.flatMap 2019-07-08 13:08:34 +03:00
Fedor
8ac840e319 Implement String.prototype.trimStart and trimEnd. 2019-07-08 13:08:31 +03:00
Fedor
7a74bbaf96 Tab to spaces newline and other such in js code 2019-07-08 13:07:47 +03:00
Fedor
ca72ef1006 Improve dead compartment collection. 2019-07-08 13:07:44 +03:00
Fedor
ba11f2bc41 Remove useless assert. 2019-07-08 13:07:28 +03:00
Fedor
706af1885a Improve efficiency of (C++) heap allocations related to BytecodeEmitter::code. 2019-06-12 13:44:42 +03:00
Fedor
bafa2e7e3f Update js parser 2019-05-20 09:02:17 +03:00
Fedor
b9a6c8d251 Remove code for unused OS - AIX and such other. 2019-05-20 09:02:10 +03:00
Fedor
66d7b35f08 Reset nursery position when it's disabled. 2019-05-20 09:01:15 +03:00
Fedor
2113b4eb60 Remove a couple of unused variables 2019-05-20 09:01:01 +03:00
Fedor
3fd37a9acc Simplify some alias sets in IonMonkey 2019-03-30 05:07:58 +03:00
Fedor
c9e74180d3 Restrict ExtractLinearSum to monotonous operation in infinite math space 2019-03-30 05:02:02 +03:00
Fedor
4b3a33f781 Check for dead wrappers in CallerGetterImpl/CallerSetterImpl 2019-03-30 04:56:47 +03:00
Fedor
e93b35424f Force expected crashes on unexpected magic values 2019-03-30 04:56:13 +03:00
Fedor
2d009f3fa3 Pref the use of unboxed plain objects in JS and disable by default 2019-03-30 04:55:45 +03:00
Fedor
3e27fff9b4 Restore winxp 2019-03-12 19:33:28 +03:00
Fedor
277045c132 ooops, some files where missed 2019-03-12 18:31:25 +03:00
Fedor
454d000db6 basic source 2019-03-11 13:26:37 +03:00