Robert Fancsik
799583e5c8
Private identifier resolving should always construct new literal object ( #4951 )
...
This patch fixes #4930 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2022-01-14 10:14:04 +01:00
Robert Fancsik
2a3782141c
Fix fast array objects cannot hold private properties ( #4952 )
...
This patch fixes #4934 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2022-01-14 10:13:03 +01:00
Robert Fancsik
8fa7819c1f
Fix memory leak in AtomicModifyWrite ( #4944 )
...
This patch fixes #4894 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2022-01-14 10:05:39 +01:00
Robert Fancsik
d681f201c2
Fix invalid assertion CESU8-UTF8 buffer copy ( #4946 )
...
The UTF8 buffer size can be smaller then the CESU8 string's size so the UTF8 output is may truncated. Therefore we cannot ensure that the CESU8 buffer is read until the end.
This patch fixes #4920 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2022-01-14 10:03:47 +01:00
Robert Fancsik
0aa182c378
Date.prototype.setYear should invalidate cached tza ( #4955 )
...
This patch fixes #4939 and fixes #4940 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2022-01-10 17:35:49 +01:00
Robert Fancsik
6efe14d1bd
Add missing object types for ecma_object_get_class_name ( #4954 )
...
This patch fixes #4937 and fixes #4938 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2022-01-10 16:37:35 +01:00
Robert Fancsik
ce5c8492b8
Fix arguments object detection in non-complex param list ( #4867 )
...
This patch is the followup of #4849 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-15 11:35:27 +01:00
Robert Fancsik
dfc001d373
Prevent stack-overflow in json internalize property ( #4877 )
...
This patch fixes #4848 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-15 11:34:22 +01:00
Robert Fancsik
070096f30f
Fix arrow function this binding resolving if environment record is present ( #4878 )
...
This patch fixes #4872 and fixes #4876 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-15 11:32:31 +01:00
Robert Fancsik
7e0aa086ec
Adjust fast array growth ( #4868 )
...
Since we allow large buffer allocations during array constructor we could extend this behavior to [[Set]] operation as well.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-15 10:35:28 +01:00
Robert Fancsik
dbba83fe40
Fix typedarray validation in Atomics read_modify_write ( #4879 )
...
This patch fixes #4875 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-15 10:33:21 +01:00
Robert Fancsik
d37ff33dbe
Fix class constructor as accessor check ( #4880 )
...
This patch fixes #4874 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-15 10:32:11 +01:00
Robert Fancsik
ee59c226d9
Fix invalid argument reference in Promise.all executor ( #4885 )
...
This patch fixes #4871 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-15 10:31:09 +01:00
Robert Fancsik
c2eb9ce35c
Fix object class check for builtin Atomics ( #4889 )
...
This patch fixes #4884 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-15 10:29:29 +01:00
Robert Fancsik
bcc711e731
Add stack-overflow check for Array.prototype.{flat, flatMap} ( #4899 )
...
This patch fixes #4890
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-15 10:28:18 +01:00
Robert Fancsik
55acdf2048
Fix buffer overflow in string radix conversion ( #4850 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-07 15:28:10 +01:00
Robert Fancsik
18dd9aa75a
Prevent arguments object creation if 'arguments' function argument is present ( #4849 )
...
This patch fixes #4847 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-07 14:05:48 +01:00
Robert Fancsik
51da15516e
Build fix after #4811 ( #4845 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-06 16:46:46 +01:00
Robert Fancsik
bfc1121e35
Fix AsyncGeneratorPrototype routines 'this' argument validation ( #4811 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-12-06 12:03:26 +01:00
Robert Fancsik
d69ac0e070
Implement logical assignment operators ( #4834 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-11-30 10:44:27 +01:00
Robert Fancsik
80777799f6
Fix goto labels indentation ( #4818 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-11-05 16:58:41 +01:00
Robert Fancsik
badfdf4dba
Replace vera++ with clang-format ( #4518 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-11-05 14:15:47 +01:00
Robert Fancsik
bc091e1742
Optimize ecma_op_function_call ( #4817 )
...
Remove redundant isCallable checks
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-11-04 17:26:28 +01:00
Robert Fancsik
3ad76f932c
Fix for-in collection cleanup on abrupt 'has' result ( #4807 )
...
This patch fixes #4747
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-11-02 08:40:07 +01:00
Robert Fancsik
efe63a5bbc
Fix parsing unterminated let statement ( #4808 )
...
This patch fixes #4754
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-11-02 08:36:16 +01:00
Robert Fancsik
d2388e907f
Implement CreateAsyncFromSyncIterator ( #4802 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-10-28 12:45:47 +02:00
Robert Fancsik
24c1a93d91
Remove block result ( #4799 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-10-27 10:59:00 +02:00
Robert Fancsik
322265bfb9
Move push literal number opcodes to basic opcodes ( #4609 )
...
`obj[number]` is a widely used structure especially for array element indexing, however super property assignment is not.
This patch moves super-assignment opcodes to ext opcodes and fills the freed 3 basic opcodes with push-literal-number ones.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-23 10:00:00 +01:00
Robert Fancsik
c14702c129
Keep GNU fastpath for jerry_port_get_local_time_zone_adjustment ( #4600 )
...
PR #4513 caused a measurable slowdown by removing the GNU specific TZA calculation.
This patch reverts this removal but also keeps the general implementation introduced in #4513
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-17 20:44:00 +01:00
Robert Fancsik
488a0bf7e8
Improve date internals ( #4593 )
...
- Optimize year from time calculation
- Force arithmetic operations to int32_t/int64_t whenever possible
- Optimize number conversion in date parse
- Cache local TZA of the date object
- Fix a bug in Date.parse timezone parsing
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2021-02-17 16:07:54 +01:00