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
Robert Fancsik
bfd2639634
Rework the core of class parsing/runtime semantic ( #3598 )
...
Changes:
- Use the pre-scanner to provide information for the parser about the existence of the class constructor
- The allocation of the super declarative environment is no longer needed
- The VM frame context holds the information about the this binding status
- Reduce the number of class related VM/CBC instructions
- Improve ecma_op_function_{construct, call} to properly set new.target
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-16 14:37:47 +01:00
Robert Fancsik
6ef0a0e07e
Fix the lazy listing of builtin property names ( #3607 )
...
This patch fixes #3606 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-12 12:45:53 +01:00
Robert Fancsik
ec39d08d67
Fix object destructuring for empty pattern ( #3571 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-03-02 15:37:03 +01:00
Robert Fancsik
4e136c8973
Implement the core of Proxy object ( #3562 )
...
- Internal routines of the of the proxy object are unimplemented
- For-in enumerate with proxy target is currently not supported
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-02-28 14:41:59 +01:00
Robert Fancsik
9b393ee2ea
Remove ECMA_OBJECT_TYPE_ARROW ( #3582 )
...
Until now arrow functions had a separate type, but most of the time they can be handled similar to single functions.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-02-25 13:28:50 +01:00
Robert Fancsik
5fdeb7c1d6
[[Prototype]] object's reference count should be increased by jerry_get_prototype ( #3550 )
...
This patch ensures that the implementation satisfies the requirements of the public API documentation.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-02-07 18:20:39 +01:00
Robert Fancsik
563a5d93e9
Fix 'arguments' and 'caller' properties lazy listing in ES2015 profile ( #3539 )
...
This patch fixes #3536 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-02-03 15:12:59 +01:00
Robert Fancsik
7734f87fbb
For in-of declaration should only throw error after initialization. ( #3541 )
...
This patch fixes the error introduced in #3513 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-02-03 15:12:12 +01:00
Robert Fancsik
b73100d933
Add missing release value call to Array.prototype.pop fast path. ( #3535 )
...
This patch fixes #3534 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-24 10:54:55 +01:00
Robert Fancsik
e693854dae
Fix array-indexed property name calculation for fast access mode arrays in property name listing ( #3533 )
...
This patch fixes #3532 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-23 17:21:35 +01:00
Robert Fancsik
3c5fb342be
Update "arguments" and "caller" properties of function object to conform ES6 changes ( #3530 )
...
This patch resolves #3393 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-23 15:53:37 +01:00
Robert Fancsik
05b4bda927
Colon must be expected after computed property name in object destructuring ( #3529 )
...
This patch fixes #3527 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-20 16:49:08 +01:00
Robert Fancsik
71d4e12105
Fix assignment opcode transformation for CBC_PUSH_THIS_LITERAL ( #3525 )
...
This patch fixes #3477 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-17 11:37:10 +01:00
Robert Fancsik
c4948936c2
Add missing release value to ecma_op_object_get_property_names ( #3524 )
...
This patch fixes #3523 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-17 11:36:40 +01:00
Robert Fancsik
8b41bf306a
Introduce builtin intrinsic object to share property values between builtin objects ( #3490 )
...
Fixed:
- Global symbol access
- Array.prototype.values and Array.prototype[Symbol.iterator] must be the same function object
To test the new functionality arguments object Symbol.iterator property is added.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-16 15:57:27 +01:00
Robert Fancsik
4a331b2edc
Add builtin GeneratorFunction support ( #3499 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-15 12:01:58 +01:00
Robert Fancsik
210b631b21
Fix iterator position calculation for array patterns ( #3494 )
...
This patch fixes #3455 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-14 16:03:26 +01:00
Robert Fancsik
be8ae3aae8
Add iterator close support for for-of statement ( #3401 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-13 17:38:47 +01:00
Robert Fancsik
be83ff6b71
Update Function.prototype.bind to conform ES6 requirements ( #3504 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-13 11:43:11 +01:00
Robert Fancsik
d0e8629342
Support nested destructuring patterns in catch header ( #3488 )
...
This patch fixes #3433 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-13 11:39:07 +01:00
Robert Fancsik
b3b1dfdabd
Tagged template object references should be released only in post_processing ( #3495 )
...
This patch fixes #3483 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-10 15:25:40 +01:00
Robert Fancsik
dc3de8d8ae
Fix for-of block context creation for empty destructuring pattern ( #3492 )
...
This patch fixes #3421 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-08 14:55:02 +01:00
Robert Fancsik
003694d259
Throw error for generator function class constructor ( #3489 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2020-01-07 14:52:01 +01:00
Robert Fancsik
ea5ad2a06f
Fix the parsing/scanning of empty return statement ( #3468 )
...
This patch fixes #3467 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-19 19:31:59 +01:00
Robert Fancsik
9596a7e1d6
Implement tagged template literals ( #3456 )
...
Missing features: snapshot support
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-19 19:10:45 +01:00
Robert Fancsik
9b33fc8cbd
Revise the usage of the global error value/exception flag ( #3426 )
...
This patch also fixes #3422 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-10 14:42:10 +01:00
Robert Fancsik
99fa823bab
Fix cleanup on error in Array.from ( #3423 )
...
This patch fixes #3420 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-05 20:24:37 +01:00
Robert Fancsik
1829d2df55
Fix scanner_create_variables for empty destructuring patterns ( #3417 )
...
This patch fixes #3383 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-04 15:38:50 +01:00
Robert Fancsik
59eb0787ba
Fix global error management in ecma_builtin_string_prototype_object_split ( #3414 )
...
This patch fixes #3395 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-04 14:13:43 +01:00
Robert Fancsik
e188407d3a
Support spreaded argument list in super property reference. ( #3415 )
...
This patch fixes #3394 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-04 14:13:00 +01:00
Robert Fancsik
99ae94b7c0
ecma_create_error_reference should clear the context's exception flag. ( #3413 )
...
This patch fixes #3410 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-04 14:12:06 +01:00
Robert Fancsik
041df1ec3c
Fix the global error management on promise operations ( #3412 )
...
This patch fixes #3409 and fixes #3411 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-04 12:51:52 +01:00
Robert Fancsik
bfc495f0cb
Implement Array.from routine ( #3402 )
...
The patch also revealed a minor issue about Map[Symbol.iterator] which have been fixed as well.
Co-authored-by: Daniella Barsony [email protected]
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-03 15:39:11 +01:00
Robert Fancsik
cc03c08c3d
Fix error handling in abrupt promise rejection ( #3391 )
...
This patch fixes #3390 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-12-03 09:34:38 +01:00
Robert Fancsik
0bc42a3fd5
Allow lexical function declaration in labeled statements. ( #3386 )
...
This patch fixes #3381 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-29 16:41:21 +01:00
Robert Fancsik
42b4af5921
Fix exception handling in ecma_op_create_promise_object ( #3385 )
...
This patch fixes #3376 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-29 15:45:41 +01:00
Robert Fancsik
14e95a4775
Fix the handling of unresolvable reference in VM_OC_TYPEOF_IDENT ( #3371 )
...
This patch fixes #3363 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-27 22:27:34 +01:00
Robert Fancsik
cbeecdb703
Fix this property reference on assignment patterns ( #3365 )
...
This patch fixes #3348 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-26 15:49:55 +01:00
Robert Fancsik
12211d8aaa
Fix the order of the function arguments for spread operation ( #3369 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-26 15:47:36 +01:00
Robert Fancsik
aeb8431aff
Fix the scanning of default array/object literals. ( #3367 )
...
Scanning should continue with `SCAN_MODE_POST_PRIMARY_EXPRESSION` in all cases.
Fixes #3360 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-26 13:07:28 +01:00
Robert Fancsik
f63e4c363b
Fix the assertion for VM_OC_EVAL. ( #3366 )
...
Eval flag can be set for spreaded argument function calls as well.
This patch fixes #3364 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-26 13:05:56 +01:00
Robert Fancsik
62356796fc
Support get/set as property name in object literal ( #3340 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-22 16:05:38 +01:00
Robert Fancsik
2ddf134cef
Add iterator close support for array destructuring ( #3337 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-21 12:55:52 +01:00
Robert Fancsik
7f6f562adb
Throw error for using rest parameter in property setter ( #3335 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-20 12:21:05 +01:00
Robert Fancsik
830011c033
Eliminate the allocation of spread object ( #3333 )
...
ECMA_VALUE_SPREAD_ELEMENT can be used to represent that the next argument needs to be spreaded, therefore no allocation is needed.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-19 18:16:43 +01:00
Robert Fancsik
a1189cfb62
Add validation for single statement lexical declarations ( #3326 )
...
This patch fixes #3275 and fixes #3276 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-19 15:44:12 +01:00
Robert Fancsik
134f0c0d0f
Fix fast array array hole initialization ( #3332 )
...
This patch eliminates the valgrind error: "Conditional jump or move depends on uninitialised value(s)".
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-19 14:10:55 +01:00
Robert Fancsik
7295c48638
Add missing macro guard for jerry_generate_snapshot_with_args ( #3331 )
...
JERRY_CONTEXT(resource_name) must be initialized with undefined when module system is enabled.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-19 14:07:17 +01:00
Robert Fancsik
22766a855e
Implement spread operator for function call arguments ( #3329 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-19 14:06:12 +01:00
Robert Fancsik
8cf5f96c15
Introduce parser statement flags ( #3318 )
...
These flags makes the code more readable also makes the process of introducing a new statement type easier.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-15 15:57:42 +01:00
Robert Fancsik
fca0c94002
Fix the initialization of let/const patterns when block context is needed. ( #3320 )
...
Also some code cuplication is removed.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-15 14:38:14 +01:00
Robert Fancsik
8eda9bc1c3
Fix the usage of escaped identifiers in scanner_scope_find_let_declaration ( #3317 )
...
This patch fixes #3313 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-14 14:46:01 +01:00
Robert Fancsik
be95aa33b4
Improve delete property with undefined base ( #3312 )
...
This patch finally resolves #2891 also the removes the related bytecode since it has become unnecessary.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-14 13:53:52 +01:00
Robert Fancsik
204de302aa
Fix ecma_op_get_value_lex_env_base for let/const declarations ( #3311 )
...
This patch fixes #3306 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-14 13:52:12 +01:00
Robert Fancsik
213544ae47
Implement array/object destructuring ( #3305 )
...
This patch implements the core functionality of destructuring patterns.
Function argument/for in-of pattern are currently unsupported.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-14 13:49:49 +01:00
Robert Fancsik
f48f926a39
[[HasOwnProperty]] should update the lex-env binding of argument objects ( #3283 )
...
This patch fixes #3271 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-07 11:24:07 +01:00
Robert Fancsik
859954b330
Add missing parameter description for jerry_get_resource_name ( #3285 )
...
Also some typos are fixed.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-06 18:19:25 +01:00
Robert Fancsik
525c35f148
Introduce jerry_get_resource_name API function ( #3236 )
...
This new API function adds possibility to query the resource name of the currently executed script (including modules) or a function object.
This patch closes #2170 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-06 15:05:49 +01:00
Robert Fancsik
3a505bda6b
Increase the size of VM group opcodes to 256 ( #3282 )
...
Currently there is almost 115 group opcodes so increasing the number of bits which reprent a group opcode has become actual.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-06 14:49:57 +01:00
Robert Fancsik
06135da642
Do not create temporary object during [[Get]] operation with primitive base ( #3278 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-05 19:37:20 +01:00
Robert Fancsik
6f83da4c0b
Implement the spread operator for array initialization ( #3265 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-04 16:36:58 +01:00
Robert Fancsik
fc3cfc4fdc
Arrow functions "prototype" property should not be lazy listed ( #3268 )
...
This patch fixes #3267 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-11-04 12:12:01 +01:00
Robert Fancsik
f93fa98a75
Add Number.{EPSILON, {MAX,MIN}_SAFE_INTEGER} to the builtin descriptor ( #3258 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-31 15:06:19 +01:00
Robert Fancsik
eee41ec734
Support \u200C \u200D unicode characters ( #3266 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-31 11:14:13 +01:00
Robert Fancsik
d1faed7d03
Properly release callback result in ecma_builtin_typedarray_prototype_exec_routine ( #3263 )
...
This patch fixes #3262 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-31 11:08:16 +01:00
Robert Fancsik
1c34539997
Rework array hole calculation for fast access mode arrays ( #3248 )
...
This patch gives possibility to Array.prototype builtin routine optimizations.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-29 10:10:25 +01:00
Robert Fancsik
42ab062441
Introduce ecma_op_object_get_length and ecma_op_object_get_by_index operations ( #3245 )
...
These two functions helps to reduce code duplication, also invokes the elimination of several ECMA_TRY_CATCH macros.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-29 10:07:20 +01:00
Robert Fancsik
87f60da14f
Add arithmetic operations support for the API ( #3249 )
...
This patch extends the jerry_binary_operation_t list with arithmetic operations.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-28 15:46:35 +01:00
Robert Fancsik
448c239f08
Export statement parsing should construct new ident literal ( #3256 )
...
This patch fixes #3253 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-28 15:30:47 +01:00
Robert Fancsik
351b88184c
Arrow functions prototype property should not be lazy instantiated ( #3251 )
...
This patch fixes #3250
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-28 10:33:28 +01:00
Robert Fancsik
b7aa21ebc7
Fix lazy instantiation of external functions 'prototype' property ( #3246 )
...
This patch resolves #2302 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-25 15:56:37 +02:00
Robert Fancsik
100a012931
Fix integer overflow during byteLength calculation for %TypedArray%s ( #3244 )
...
This patch fixes #3243 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-25 12:36:23 +02:00
Robert Fancsik
99ad34af4a
Sort function breakpoints before enabling them ( #3238 )
...
Function breakpoints should be sorted before enabling then since the object enumeration order does not grant consistent result.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-24 15:08:03 +02:00