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
Robert Fancsik
48f34adea5
General GC optimizations ( #3221 )
...
- Enable recursive GC marking with a limited recursion count (this option is configurable)
- No need to decrease the reference count of the gray objects anymore
- Bound function object marking is seperated into a helper function
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-24 14:49:47 +02:00
Robert Fancsik
3b73562fa5
Revise ES2015 feature guards ( #3240 )
...
All the basic language element guards are merged into JERRY_ES2015 macro guard.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-24 14:44:51 +02:00
Robert Fancsik
edf66f4e9b
Extend the API documentation for jerry_create_string_* functions ( #3234 )
...
- The given string pointer cannot be NULL.
- Fixed API prototype for jerry_create_string_sz_from_utf8
- Assert is added for non-NULL pointer in lit_zt_utf8_string_size
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-21 13:42:31 +02:00
Robert Fancsik
fd1f7eab9f
Add public API functions for internal property management ( #3128 )
...
These 4 new API functions give possibility to perform [[Get]], [[Set]], [[Has]], [[Delete]] operations for properties
which are not accessible from the JavaScript context only from the public API.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-17 13:56:49 +02:00
Robert Fancsik
a40eb9bab8
Remove duplicated error raising in ecma_op_typedarray_set_with_typedarray ( #3223 )
...
This patch fixes #3222 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-17 11:56:14 +02:00
Robert Fancsik
8f39d90f7c
Static strings should be reference counted in debug mode ( #3219 )
...
This patch helps to find out invalid reference count usage for ecma-strings.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-16 14:00:47 +02:00
Robert Fancsik
7518b7bfe6
Remove ECMA_PROPERTY_HASHMAP_SHIFT_LIMIT ( #3217 )
...
Ecma-string hash limit has already been increased to UINT32_MAX so all the string hashes can be stored directly in the hashmap.
This patch fixes #3216 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-16 13:59:43 +02:00
Robert Fancsik
fc2a2f94fd
Properly release scanner info in parser_parse_for_statement_start ( #3211 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-10 12:44:29 +02:00
Robert Fancsik
9e323cdcd6
Improve ecma_typedarray_info_t ( #3205 )
...
- The structure members have been renamed and the members got more detailed description.
- Updated the usage of the typedarray info structure in all occurrences to use absolute addressing from the underlying arraybuffer pointer.
This patch also fixes #3204 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-09 14:10:54 +02:00
Robert Fancsik
2a89eec98b
Reduce code duplication in js-parser-expr.c ( #3159 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-02 12:17:45 +02:00
Robert Fancsik
32962f067e
Fix class/function parsing in single-statement blocks ( #3179 )
...
This patch fixes #3151 and fixes #3174 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-02 11:16:52 +02:00
Robert Fancsik
fbca37fde6
Fix argument validation for Number.prototype.toPrecision ( #3176 )
...
This patch fixes #3173
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-02 10:25:52 +02:00
Robert Fancsik
195b0d3c3a
Fix duplicated argument validation for default arguments ( #3178 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-10-02 10:10:23 +02:00
Robert Fancsik
26626947c0
Inline ecma_gc_set_object_visited for performance critical code paths ( #3154 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-30 16:46:31 +02:00
Robert Fancsik
57abd26c33
Optimize lcache insert ( #3155 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-30 16:46:18 +02:00
Robert Fancsik
9ab4872244
Temporary fix for ESP8266 target on Travis ( #3160 )
...
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-24 18:39:33 +02:00
Robert Fancsik
4452e79204
Class expression scanning must be continued with post primary expression scanning. ( #3120 )
...
This patch fixes #3117 and fixes #3119 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-16 12:58:14 +02:00
Robert Fancsik
8d9788d1b5
Fix incorrect assertion while decoding the literal argument index ( #3118 )
...
This patch fixes #3114 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-16 12:56:48 +02:00
Robert Fancsik
436fcbb4b7
Fix [[Delete]] operation for fast arrays. ( #3115 )
...
When popping the last element from a fast array the underlying buffer must be released.
This patch fixes #3106 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-16 12:54:16 +02:00
Robert Fancsik
83c44d20b3
Fix skipping empty statements during class literal scanning ( #3124 )
...
This patch fixes #3123
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-16 11:26:08 +02:00
Robert Fancsik
fc30f003ba
Rework ecma collection ( #3086 )
...
After this patch the ecma value collection is a resizable buffer of ecma-values where the adjacent elements are allocated next to each other.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-12 13:05:24 +02:00
Robert Fancsik
83459c1fac
Fix String.prototype.repeat for empty strings ( #3085 )
...
This patch fixes #3084 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-10 15:03:53 +02:00
Robert Fancsik
c04fe24253
Ensure that Map/Set object keys can always have MAP_KEY_STRING internal property ( #3065 )
...
This patch fixes #3062 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-09 10:38:22 +02:00
Robert Fancsik
9fbd0cce6c
Fix fast access mode arrays delete property operation ( #3073 )
...
The old last element should be released before reallocating the underlying buffer
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-09 10:37:17 +02:00
Robert Fancsik
e04bbdfff4
Fix byteLength validation in DataView constructor ( #3074 )
...
This patch fixes #3072 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-09 10:37:01 +02:00
Robert Fancsik
c79659d3b2
Fix array initialization with array holes ( #3076 )
...
Fast mode access arrays must be converted back to normal if the array hole count reaches the limit during the initializtaion.
This patch fixes #3075 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-09 10:36:48 +02:00
Robert Fancsik
3111d0e0f2
Fix the internal object reference count in Map/Set.prototype.forEach ( #3081 )
...
This patch fixes #3079 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-09 10:36:33 +02:00
Robert Fancsik
2933947534
Properly decode literal index before CBC_MOV_IDENT ( #3056 )
...
This patch fixes #3055 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-07 12:23:49 +02:00
Robert Fancsik
91818bea93
Limit the constructed string size in String.prototype.repeat ( #3066 )
...
This patch fixes #3063 .
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
2019-09-07 12:20:57 +02:00