Robert Fancsik
0628ae1e7b
Remove the ENABLED/DISABLED macros ( #4515 )
...
The removal of these macros enabled cppcheck to reveal new errors.
These errors are also fixed by the patch.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-04 23:47:05 +01:00
Robert Fancsik
feb2855f0c
Fix cleanup in VM_OC_INITIALIZER_PUSH_PROP on abrupt completion ( #4564 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-04 16:05:56 +01:00
Robert Fancsik
e7d11eaf9e
Improve destructuring patterns ( #4527 )
...
- Fix evaluation order of the operands
- Implement proper iterator closing of array destructuring
- Support next method caching
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-04 13:11:11 +01:00
Robert Fancsik
3bb67397a0
Fix lexical declaration check for let variables ( #4529 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-04 13:07:38 +01:00
Robert Fancsik
a1b682a83d
Fix literal index decoding for CBC_MOV_IDENT ( #4539 )
...
This patch fixes #4532 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-04 13:01:14 +01:00
Robert Fancsik
f369c84c24
Ensure that [[Set]] operation does not reject for TypedArray objects ( #4558 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-04 13:00:24 +01:00
Robert Fancsik
c82f184f00
Ensure that fast arrays length property is always writable ( #4559 )
...
Also remove legacy `ecma_array_object_set_length_flags_t`.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-03 19:12:15 +01:00
Robert Fancsik
1712ad5dc4
Ensure that fast array objects are always extensible ( #4557 )
...
This patch helps to eliminate some extra checks from Array.prototype methods
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-03 16:17:50 +01:00
Robert Fancsik
bf7fa39581
Rework export default parsing ( #4505 )
...
- Remove SCANNER_LITERAL_POOL_DEFAULT_CLASS_NAME workaround
- Add async and generator function support
- Fix auto semicolon insertion after export statement
- fixes #4150 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-19 16:30:41 +01:00
Robert Fancsik
3e548401fd
Invalid regexp literals should throw syntax error in ES11 ( #4506 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-19 16:20:23 +01:00
Robert Fancsik
2ade072e53
Optimize lexenv binding creation ( #4502 )
...
- Declarative environment no longer need to lookup the created binding for setting it's value
- Unfold vm_decl_var and vm_set_var into vm_loop to reduce error checks
- Reduce code duplication in ecma_module_connect_imports
- Fix deleted binding setting in `ecma_op_set_mutable_binding` (fixes #4468 )
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-18 17:38:54 +01:00
Robert Fancsik
e00964176d
compile_commands.json should be generated for the whole project ( #4503 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-18 16:15:40 +01:00
Robert Fancsik
c4676a21fe
Introduce jerry_port_track_promise_rejection ( #4451 )
...
This patch resolves #2931 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-18 14:59:42 +01:00
Robert Fancsik
79a2392b79
Remove template array flag from arrays after the collection is freed ( #4500 )
...
This patch fixes #4469 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-18 12:10:49 +01:00
Robert Fancsik
ad7fc07ca4
Add missing error check for for-in HasNext check ( #4471 )
...
This patch fixes #4464 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-15 20:48:49 +01:00
Robert Fancsik
aefd381cf1
Rename 'this' to 'this_arg' in function arguments ( #4476 )
...
'this' is a restricted keyword in C++ so it's a good practice to avoid it's usage as an identifier.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-15 18:24:25 +01:00
Robert Fancsik
b46535cb8d
Add strict flag check for ecma_op_object_put_apply_receiver ( #4450 )
...
This patch fixes #4441 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-15 14:11:47 +01:00
Robert Fancsik
363bc92529
Remove new target workaround from super call ( #4447 )
...
After #4372 and #4369 all builtin constructors have new target support.
This patch fixes #4446 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-15 13:28:59 +01:00
Robert Fancsik
4399744588
Remove file(GLOB ...) usage from CMakeLists.txt ( #4427 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-12 10:47:36 +01:00
Robert Fancsik
5cef002ed6
Fix underscore lookahead in hex literal parsing ( #4448 )
...
This patch fixes #4442 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-11 18:48:53 +01:00
Robert Fancsik
dcf9252892
Fix mapped arguments legacy argument definition initialization ( #4434 )
...
This patch fixes #4432 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-11 12:30:52 +01:00
Robert Fancsik
b7b2e0360e
Move ARM and target checks to Github Actions from Travis ( #4430 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-08 20:08:03 +01:00
Robert Fancsik
7b00db4079
Fix unavailable source file handling in main_print_unhandled_exception ( #4424 )
...
This patch fixes #4403 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-08 16:03:33 +01:00
Robert Fancsik
0e829cc41a
Enable generating compile_commands.json ( #4417 )
...
This feature is useful for intellisense users.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-08 16:00:17 +01:00
Robert Fancsik
b56fa43aa3
Fix VM stack size calculation for class initializer assignments ( #4426 )
...
This patch fixes #4413 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-08 14:08:55 +01:00
Robert Fancsik
238f9aab4a
Tagged template literal array should be marked after construction ( #4420 )
...
This patch fixes #4385 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-08 13:07:34 +01:00
Robert Fancsik
0a3aa0f48b
Proxy.[[Set]] should reject falsish trap result in strict mode ( #4418 )
...
This patch fixes #4398 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-07 17:25:29 +01:00
Robert Fancsik
979a0c7826
Fix bytecode emitting for invalid regexp literals ( #4422 )
...
This patch fixes #4408 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-07 17:19:52 +01:00
Robert Fancsik
6dfd02a08c
Bound function 'length' property should be early initialized ( #4421 )
...
This patch fixes #4402 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-07 12:10:54 +01:00
Robert Fancsik
fc701aef6d
Fix reference count management in %TypedArray%.prototype.reduce{Right} ( #4419 )
...
This patch fixes #4397 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-07 11:59:16 +01:00
Robert Fancsik
cab266f21d
Fix inherited property type check in ordinary object.[[Set]] ( #4425 )
...
This patch fixes #4405 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-06 11:25:14 +01:00
Robert Fancsik
6279670484
Fix lookahead in lexer_check_numbers ( #4423 )
...
This patch fixes #4375 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-01-06 07:30:09 +01:00
Robert Fancsik
68b47f5f30
Update packages before installing them ( #4388 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-12-29 21:17:10 +01:00
Robert Fancsik
d8955552d7
Revise internal array creation operations ( #4291 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-10-16 15:24:50 +02:00
Robert Fancsik
e3481d431b
Revise the API ArrayBuffer related operations ( #4284 )
...
- External ArrayBuffer construction with 0 length should be equivalent to `new ArrayBuffer(0)`
- Internally allocated ArrayBuffers should be detachable
- Externally allocated ArrayBuffers free callback should be called when underlying buffer is detached
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-10-09 15:12:45 +02:00
Robert Fancsik
53a085cd28
Builtin objects symbol properties should be lazy listed ( #4271 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-10-06 14:52:25 +02:00
Robert Fancsik
37d6b13891
Fix Symbol.description API reference count management ( #4267 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-10-02 11:08:57 +02:00
Robert Fancsik
75385a6045
Improve arguments object ( #4145 )
...
- Enhancement: Arguments object properties are now lazy instantiated
- Bugfix: Mapped arguments object instantiated properties cannot be lcached
- Bugfix: Mapped arguments should be constructed even if 0 formal parameters or arguments are provided
- Update: remove 'caller' property of unmapped arguments object
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-09-28 15:57:58 +02:00
Robert Fancsik
1fd0cac8c9
Introduce new API function to obtain well-known symbols ( #4163 )
...
- jerry_get_well_known_symbol
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-08-31 10:03:05 +02:00
Robert Fancsik
2f08d8ac08
Fix evaluation order in non-binding destructuring patterns ( #4173 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-08-28 15:13:02 +02:00
Robert Fancsik
cd1c06510e
Support BigInt64/BigUint64 typedarray creation from API ( #4170 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-08-28 13:14:40 +02:00
Robert Fancsik
6d0e948bef
Introduce new API functions to obtain detailed object type information ( #4162 )
...
- jerry_object_get_type
- jerry_function_get_type
- jerry_iterator_get_type
- jerry_value_is_async_function
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-08-28 12:53:56 +02:00
Robert Fancsik
3eb69075f7
Update ToLength operation to conform ES6 spec ( #4007 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-29 11:13:34 +02:00
Robert Fancsik
2832bdc94d
Fix surrogate pair lookahead in String.prototype.toUpper ( #4073 )
...
This patch fixes #4013 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-28 15:53:17 +02:00
Robert Fancsik
dbea5e6a22
Indentifier should be expected after static in class body. ( #4061 )
...
This patch fixes #4055 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-28 10:58:09 +02:00
Robert Fancsik
2e2b0dafb0
Fix scope stack lookup for literal indices ( #4067 )
...
This patch fixes #4051 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-28 10:55:13 +02:00
Robert Fancsik
4d5757d1b1
Fix argument list end validation after destructuring argument ( #4070 )
...
This patch fixes #4050 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-28 10:53:08 +02:00
Robert Fancsik
7e0b478fe9
Update Array.prototype.concat error handling to ES11 ( #4071 )
...
This patch fixes #4044 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-28 10:45:51 +02:00
Robert Fancsik
d420811a0e
BoundFunctions [[Length]] property should be ecma_number_t ( #4072 )
...
This patch fixes #4043 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-28 10:45:01 +02:00
Robert Fancsik
9872c441e3
Fix invalid destructuring function arguments parsing ( #4074 )
...
This patch fixes #4016 and fixes #4019 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-28 10:41:45 +02:00
Robert Fancsik
9a026f54ac
Fix error handling in SetIntegrityLevel ( #4064 )
...
This patch fixes #4052 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-27 19:38:58 +02:00
Robert Fancsik
daa409a09a
Remove invalid assertion from parser_flush_cbc ( #4063 )
...
This patch fixes #4054 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-27 19:38:19 +02:00
Robert Fancsik
39e2bc4df4
Fix new.target saving in OrdinaryObject.[[Construct]] ( #4060 )
...
This patch fixes #4059 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-27 19:32:54 +02:00
Robert Fancsik
11c2ae30d1
Invalid regexp patterns should not throw syntax error during parsing ( #4038 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-27 09:28:26 +02:00
Robert Fancsik
f596211553
Fix tagged template literal call precedence for new operator ( #3998 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-24 11:22:09 +02:00
Robert Fancsik
39cb67397d
Remove the usage of ecma_length_t ( #4009 )
...
Now the following conventions are applied:
- passing the number of arguments for a function call is always uint32_t
- string size/length/position related operation should use lit_utf8_size_t
- Extended objects internal fields must be uint32_t
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-20 16:36:27 +02:00
Robert Fancsik
37906baa25
Rework promise internal structures ( #3985 )
...
- Capabilities
- Promise all resolver
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-10 16:08:34 +02:00
Robert Fancsik
b90fa63255
LEXER_ASSIGN_GROUP_EXPR should not be emitted when parsing LHS expression ( #3990 )
...
This patch fixes #3935 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-10 08:35:33 +02:00
Robert Fancsik
c1e90da0b4
Support Unicode supplementary planes ( #3928 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-06 14:21:13 +02:00
Robert Fancsik
19ecd8717f
Fix property redefinition ( #3970 )
...
The previously allocated property should not be deleted only it's type should be change.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-03 14:13:47 +02:00
Robert Fancsik
f98d7f24a7
Support super property reference in object methods/accessors ( #3940 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-07-03 12:16:23 +02:00
Robert Fancsik
fb6ea035d3
Fix signed-off check in tolerant mode ( #3915 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-18 13:04:46 +02:00
Robert Fancsik
a026a7d713
Fix releasing 'exec' in regexp replace fast path ( #3913 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-17 19:24:07 +02:00
Robert Fancsik
e0b2f8e0d8
Extend CI list with Github actions ( #3905 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-17 17:19:05 +02:00
Robert Fancsik
cc4ac497b7
Merge jerry-test-suite into jerry tests ( #3907 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-17 13:00:41 +02:00
Robert Fancsik
23bba1c6d9
Builtin objects finalization should handle function properties with tagged template literal collection ( #3896 )
...
This patch fixes #3893 .
Co-authored-by: Dániel Bátyai [email protected]
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-12 13:01:44 +02:00
Robert Fancsik
dba9533af1
Compiled code should hold strong reference for the object in the tagged template literal collection ( #3876 )
...
This patch fixes #3866 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-09 08:20:30 +02:00
Robert Fancsik
b7a641c124
Raw string length should be adjusted when UTF8 string is converted to CESU8 ( #3853 )
...
This patch fixes #3812 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-08 11:00:34 +02:00
Robert Fancsik
1770ccaecd
Object/Array initializers should be parsed as AssignmentExpression ( #3851 )
...
This patch fixes #3849 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-05 13:25:05 +02:00
Robert Fancsik
c09c2c5dd7
Fix several function name related issues ( #3848 )
...
- For non-computed name srcipt functions only identifier/string literal should be set as name
- Implicit class constructor names with non string function name should be ToString-ed
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-04 13:44:22 +02:00
Robert Fancsik
1414e9bb00
Fix invalid AssignmentExpression lookahead in parser_process_group_expression ( #3846 )
...
This patch fixes #3845 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-04 13:23:25 +02:00
Robert Fancsik
fe09200d61
Fix assignment lookahead in parser_process_group_expression ( #3828 )
...
This patch fixes #3815 and fixes #3819 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-03 15:29:26 +02:00
Robert Fancsik
4660bab16b
Fix PropertyDefinition parsing in ObjectInitializer ( #3832 )
...
This patch fixes #3822 and fixes #3823 and fixes #3824 and fixes #3825 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-03 15:28:13 +02:00
Robert Fancsik
dc837d232d
Fix incorrect assertion on ecma_op_function_has_instance ( #3827 )
...
This patch fixes #3814 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-06-02 16:16:21 +02:00
Robert Fancsik
3b4c259281
Add support for builtin/builtin routine 'name' property ( #3810 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-29 14:28:52 +02:00
Robert Fancsik
5895b96bdb
Class extends expression should be parsed is strict mode ( #3801 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-28 16:23:56 +02:00
Robert Fancsik
d4fe48fae4
Script classes should be skipped during 'name' property lazy instantiation ( #3809 )
...
This patch fixes the TC262 language/expressions/class/name.js testcase.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-28 14:15:33 +02:00
Robert Fancsik
104001df68
Implement function name support for script functions and classes ( #3745 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-28 12:33:21 +02:00
Robert Fancsik
69f8e78c2f
Fix error handling in scanner when in case of OOM ( #3793 )
...
This patch fixes #3786 and fixes #3788 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-27 14:40:43 +02:00
Robert Fancsik
dd6d148c3b
Fix incorrect assertion in parser_parse_for_statement_start ( #3795 )
...
This patch fixes #3751 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-26 11:49:31 +02:00
Robert Fancsik
3060656562
Fix lazy property listing for [[Enumerate]] ( #3794 )
...
This patch fixes #3784 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-25 19:09:12 +02:00
Robert Fancsik
b2a2022d0a
Fix property order in lazy property listing for builtin/external functions ( #3780 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-25 13:00:21 +02:00
Robert Fancsik
b9258da7d0
Accessor functions should not have 'prototype' property ( #3781 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-25 12:57:25 +02:00
Robert Fancsik
6cd309b525
Function.prototype[@@hasInstance] should not throw error for not callable this value ( #3773 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-22 17:23:07 +02:00
Robert Fancsik
9ad9d574fe
Add proxy support for HasBinding operation for Object Environment records ( #3731 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-13 14:27:31 +02:00
Robert Fancsik
df7e303145
Fix apply receiver operation for Proxy objects ( #3730 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-11 16:56:41 +02:00
Robert Fancsik
40a9f27314
Fix __proto__ parsing in object literals ( #3704 )
...
Co-authored-by: Rafal Walczyna [email protected]
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-05-04 14:49:15 +02:00
Robert Fancsik
d1bf9635c7
Fix incorrect assertion in parser_parse_for_statement_start ( #3679 )
...
This patch fixes #3655 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-04-21 12:00:39 +02:00
Robert Fancsik
b209e95daa
Fix iterator step calculation for bracketed property expressions ( #3678 )
...
This patch fixes #3665 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-04-20 19:32:59 +02:00
Robert Fancsik
58257040dc
Fix lexical binding set in VM_OC_COPY_TO_GLOBAL ( #3653 )
...
This patch fixes #3647 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-04-15 18:08:58 +02:00
Robert Fancsik
b5977de99c
Fix lazy property name listing for ArrayIndices. ( #3651 )
...
This patch fixes #3648 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-04-15 15:21:06 +02:00
Robert Fancsik
60db840cf4
Fix super property assignment for namedaccessor properties ( #3654 )
...
Tha patch also updates the [[Put]] internal method with the new steps from the ES6 standard.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-04-09 17:08:08 +02:00
Robert Fancsik
d63936f371
CBC_PUSH_THIS should not be mutated in array literal parsing. ( #3652 )
...
This patch fixes #3650 and slightly reverts the changes of #3594 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-27 21:20:37 +01:00
Robert Fancsik
3c7a776cae
Fix heap-buffer-overflow in ecma_collection_append ( #3645 )
...
This patch fixes #3628 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-27 11:28:36 +01:00
Robert Fancsik
2ed742a9e7
Fix invalid free in ecma_op_function_get_super_constructor ( #3644 )
...
This patch fixes #3636 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-27 11:28:23 +01:00
Robert Fancsik
76b8555210
Remove JERRY_CONTEXT_INVALID_NEW_TARGET ( #3643 )
...
Until now JERRY_CONTEXT_INVALID_NEW_TARGET was used to represent whether the eval called from the script directly.
This information can be retrieved from the parser, so it simplifies the runtime handling of the new.target.
This patch fixes #3630 , fixes #3640 and fixes #3641 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-27 11:21:50 +01:00
Robert Fancsik
5b6d4f39b1
Add missing ecma_free_value to opfunc_init_class ( #3626 )
...
This patch fixes #3625 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-19 17:24:03 +01:00
Robert Fancsik
c305aee80f
Fix for-in/off block context initialization for empty destructuring patterns ( #3614 )
...
This patch fixes #3611 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-16 14:53:02 +01:00
Robert Fancsik
7f67795326
Spread operator should not update the scanner context's binding type ( #3613 )
...
This patch fixes #3595 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-16 14:52:05 +01:00
Robert Fancsik
1a8276c493
Conditional expression should be parsed as AssignmentExpression ( #3610 )
...
This patch fixes #3553 and fixes #3608 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-16 14:44:39 +01:00