Zoltan Herczeg
b1f73e698a
Fix deleting native pointers ( #4570 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-02-05 19:35:30 +01:00
Zoltan Herczeg
3623ac789d
Introduce generic backtrace capturing ( #4555 )
...
Remove jerry_get_backtrace_from function
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-02-04 16:33:59 +01:00
Zoltan Herczeg
9ca046b670
Add non-standard behaviour support for Proxies ( #4562 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-02-04 15:58:16 +01:00
Zoltan Herczeg
e191a5cf47
Increase the maximum reference count of objects when cpointer 32 is enabled ( #4550 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-29 14:45:27 +01:00
Zoltan Herczeg
ba06d492a3
Remove full stop after error messages ( #4524 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-28 12:10:13 +01:00
Zoltan Herczeg
b5bf97c657
Stop after the first matching property in the prototype chain ( #4543 )
...
If multiple properties with the same name is in the
prototype chain, only the first one should be inspected
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-26 14:57:10 +01:00
Zoltan Herczeg
d646cf51ee
Set the correct realm when global code is running ( #4522 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-22 09:17:38 +01:00
Zoltan Herczeg
3b77117a2e
Add a callback which is called when Error objects are created ( #4465 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-18 16:56:38 +01:00
Zoltan Herczeg
3dc6ed0dd5
Fix internal property listing in ecma_op_object_own_property_keys ( #4461 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-13 15:13:43 +01:00
Zoltan Herczeg
3193e6d0dc
Implement jerry_get_backtrace_from API function ( #4454 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-12 19:52:05 +01:00
Zoltan Herczeg
6f0391dd66
Unify internal property creation ( #4373 )
...
Furthermore free up a bit in the property descriptor.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-12 13:12:44 +01:00
Zoltan Herczeg
128f18a225
Fix mutable binding creation for realms with proxy this binding ( #4370 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-07 11:09:33 +01:00
Zoltan Herczeg
7baaafa405
Fix the return value of jerry_to_property_descriptor function ( #4371 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2021-01-07 11:09:07 +01:00
Zoltan Herczeg
9676500add
Implement get proxy target ( #4367 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-12-18 10:58:48 +01:00
Zoltan Herczeg
e2be8f4c79
Get the 'this' binding of a realm value ( #4365 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-12-16 13:21:20 +01:00
Zoltan Herczeg
29be24f056
Fix var and function declaration in eval ( #4360 )
...
Fixes #4149
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-12-14 11:30:45 +01:00
Zoltan Herczeg
fe29bf7390
Allow changing the 'this' binding of a realm ( #4357 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-12-14 10:05:30 +01:00
Zoltan Herczeg
7e135b04ed
Fix literal printing in byte code dump. ( #4359 )
...
Fixes #4353
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-12-11 13:59:48 +01:00
Zoltan Herczeg
cc1e8d2dee
Continue working on realms ( #4356 )
...
- Rework symbols to have the same value across realms
- Support realms for native functions
- Support test262
- Use new.target realms for constructing intrinsics
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-12-09 17:44:21 +01:00
Zoltan Herczeg
df92c86ecf
Implement realm object and support realms for built-ins and JS functions ( #4354 )
...
- Type for realm objects is introduced (ecma_global_object_t)
- Realm reference is added to built-in objects and ECMAScript functions
- Resolving built-ins, global environments, and scopes require realm object
- Unnecessary global object accesses are removed from the code
Missing: external functions and static snapshot functions have no realm reference
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-12-08 14:36:36 +01:00
Zoltan Herczeg
de37e1e049
Template literal arrays should not be marked. ( #4352 )
...
Make array object big endian compatible.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-12-04 10:41:14 +01:00
Zoltan Herczeg
c0fc67f5bd
Rework built-in processing of JerryScript ( #4347 )
...
- All built-ins are native functions now
- Native handlers have a built-in id: ECMA_BUILTIN_ID_HANDLER
- Built-in routine identifiers start from 1
- Built-in routines have an own flag set
- Name property of routines is resolved dynamically
- Style fixes
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-12-01 11:37:08 +01:00
Zoltan Herczeg
cbc3a5d291
Fix function calls which name is async and has an extra comma ( #4340 )
...
Fixes #4132
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-11-19 11:27:29 +01:00
Zoltan Herczeg
1237bef0f0
Variables created by eval in strict mode should ignore the properties of their parent function. ( #4339 )
...
Fixes #4018
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-11-16 15:04:22 +01:00
Zoltan Herczeg
640a7d33b3
Support byte code dump when snapshot is executed. ( #4327 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-11-16 12:17:41 +01:00
Zoltan Herczeg
c7986fd2c5
Implement rest parameter support for destructuring object patterns. ( #4318 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-10-29 10:49:08 +01:00
Zoltan Herczeg
91e0cfc767
Implement ES11 globalThis ( #4306 )
...
Also improve symbol built-in instantiation.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-10-22 10:59:54 +02:00
Zoltan Herczeg
6f25d6ed31
Improve JerryScript debugger ( #4299 )
...
- Support print (p) as alias to eval (e)
- Fix backtrace processing (incorrect increment when cpointer is 4 byte long)
- Support partial names for pending breakpoints (similar to normal breakpoints)
- Don't print newline after pending breakpoint dialog text
- Add jerryscript-debugger-transport.h to all-in-one build
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-10-19 15:26:19 +02:00
Zoltan Herczeg
f384642409
Implement proper function length support ( #4290 )
...
Comma after last destructuring argument has been fixed as well
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-10-19 10:55:26 +02:00
Zoltan Herczeg
841d536fce
Implement proper arguments support ( #4289 )
...
- Store arguments in a register when possible
- Create separate arguments object for function argument initializer when necessary
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-10-16 11:02:36 +02:00
Zoltan Herczeg
3c2a3f5dd9
Implement environment record for class constructors ( #4207 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-10-12 13:13:38 +02:00
Zoltan Herczeg
4b2dbd5c21
Correctly set flags of identifiers related to classes ( #4233 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-09-30 12:45:53 +02:00
Zoltan Herczeg
32de38198a
Fix invalid free in TypedArray find method. ( #4230 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-09-28 10:48:14 +02:00
Zoltan Herczeg
bc64957d19
Properly implement static class fields. ( #4221 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-09-25 14:23:02 +02:00
Zoltan Herczeg
3c723c9bc1
New jerry_get_symbol_description API function ( #4206 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-09-21 10:39:38 +02:00
Zoltan Herczeg
4d135bec5d
Rework frame context ( #4200 )
...
A new shared frame context data is created which allows sharing
data between the function call and vm main loop. Furthermore
rest arguments and current function object handling is reworked.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-09-21 10:25:17 +02:00
Zoltan Herczeg
d9653823ca
Initial implementation of class fields ( #4191 )
...
Missing features:
- this binding in static fields are not supported
- static field evaluation order is wrong
- function names are not supported
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-09-17 15:22:55 +02:00
Zoltan Herczeg
2bc3111e31
Improve error detection of nullish coalescing operator ( #4179 )
...
Also rename LEXER_IS_BINARY_LVALUE_TOKEN to LEXER_IS_BINARY_LVALUE_OP_TOKEN
because its name is wrong.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-09-07 14:43:41 +02:00
Zoltan Herczeg
84bc1e03fb
Detect assignment pattern for for-in/of ( #4140 )
...
Furthermore do not allow default value for rest parameter
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-24 14:47:10 +02:00
Zoltan Herczeg
5b3f01af9d
Add missing error support for API functions. ( #4153 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-19 11:13:08 +02:00
Zoltan Herczeg
6adf0c1a87
Support BigInt to number conversion using Number constructor ( #4121 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-12 16:33:31 +02:00
Zoltan Herczeg
f761427a3e
Improve BigInt support ( #4118 )
...
This patch adds several small features:
- Support right shift with negative numbers
- Support exponentation operator
- BigInts can be enabled in ES5.1 mode
- Remove dead code from ecma_deref_bigint
- Support longer BigInt literals in the parser
- Fix various BigInt comparison issues
- Do not discard unary plus for BigInt constants
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-11 11:25:01 +02:00
Zoltan Herczeg
39fe04814e
Implement unary operators: bitwise not, pre/post increment/decrement ( #4116 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-10 22:38:34 +02:00
Zoltan Herczeg
f4f9cde3e7
Fix evaluation order for binary operators ( #4114 )
...
Furthermore fix toBoolean for BigInts as well.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-07 14:32:46 +02:00
Zoltan Herczeg
cb14682983
Create API for handling BigInts ( #4111 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-07 13:43:29 +02:00
Zoltan Herczeg
531f724926
Change BigInt zero representation to a constant ( #4109 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-06 12:17:39 +02:00
Zoltan Herczeg
bdb39f1f03
Implement binary bitwise BigInt operators ( #4105 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-04 16:53:38 +02:00
Zoltan Herczeg
b5a96c9eca
Implement BigInt literal parsing in the parser. ( #4089 )
...
Support octal literals for BigInts.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-04 14:16:38 +02:00
Zoltan Herczeg
cfd69d3b70
Implement relational operators for BigInts ( #4087 )
...
Improve BigInt constructor as well
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-08-03 13:46:34 +02:00
Zoltan Herczeg
df2f7782f7
Implement BigInt primitve type and some of its operations ( #4062 )
...
Supported operations:
- parse BigInt (decimal, hexadecimal, binary)
- toString with any radix between 2 and 36
- arithmetic operations: negate, add, subtract, multiply, divide, modulo
- left and right shift
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-07-30 12:08:34 +02:00
Zoltan Herczeg
dff2a2a6da
Rework ascii string to use less memory. ( #4030 )
...
Furthermore rename utf8_string to short_string.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-07-28 15:47:07 +02:00
Zoltan Herczeg
d92d9db40f
Fix property name comparison when external strings are used. ( #4033 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-07-22 15:17:39 +02:00
Zoltan Herczeg
0124368ae7
Implement external strings. ( #4028 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-07-22 12:27:12 +02:00
Zoltan Herczeg
80716cca90
Implement missing async function and async iterator prototypes. ( #3962 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-07-03 11:04:27 +02:00
Zoltan Herczeg
9e18ff29c6
Implement ... support for object initializers. ( #3968 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-07-02 15:04:21 +02:00
Zoltan Herczeg
6389816f67
Implement AsyncIteratorClose for for-await-of statement. ( #3955 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-07-01 12:40:39 +02:00
Zoltan Herczeg
37049c4968
Support catch statement without argument. ( #3956 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-30 18:00:40 +02:00
Zoltan Herczeg
cd949d9d64
Rework flags representing arrow functions and complex arguments ( #3957 )
...
This allows detecting cases which was not possible before.
Fixes #3944
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-30 14:00:35 +02:00
Zoltan Herczeg
5535ea88ac
Implement for-await-of statement. ( #3946 )
...
AsyncIteratorClose has not supported yet.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-30 11:21:50 +02:00
Zoltan Herczeg
0b404ea893
Support caching of next method in for-of and built-in methods. ( #3939 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-26 14:47:39 +02:00
Zoltan Herczeg
b7e3baeecb
Support caching of next method in generators. ( #3937 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-26 12:09:36 +02:00
Zoltan Herczeg
f88489beef
Implement yield* operator ( #3923 )
...
Missing features:
- caching next() method (this also true for normal generators)
- automatic sync to async generator conversion
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-25 17:11:16 +02:00
Zoltan Herczeg
5d8c5f3e92
Support comma after last argument for function declarations ( #3910 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-24 10:41:03 +02:00
Zoltan Herczeg
8ccccd9705
Fix a few small issues in generators ( #3919 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-22 13:55:33 +02:00
Zoltan Herczeg
b2a6109430
Implement async generators ( #3916 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-22 13:54:18 +02:00
Zoltan Herczeg
b1912e7224
Fix async function call parsing. ( #3909 )
...
The "async" identifier processing is delayed until it is detected that it cannot
be part of an arrow expression. The "async" identifier should be processed at this
point, but it was not happened in this case.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-17 15:35:02 +02:00
Zoltan Herczeg
8e010146a9
Reduce try context stack consumption to 1 from 2. ( #3898 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-17 14:39:53 +02:00
Zoltan Herczeg
8719f72e61
Implement async function execution. ( #3897 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-17 12:08:01 +02:00
Zoltan Herczeg
1b2e0aec8c
Create extend byte code flags with function types. ( #3802 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-15 13:40:55 +02:00
Zoltan Herczeg
38111c0889
Fix redeclaration of existing var variables in functions with argument context. ( #3891 )
...
Fixes #3888
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-11 11:36:37 +02:00
Zoltan Herczeg
1bf52f5847
Fix initializer detection in for-in expressions. ( #3884 )
...
Also fix column update when comments are parsed.
Fixes #3882
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-10 12:37:52 +02:00
Zoltan Herczeg
36bf1ec09d
Implement argument redefinition with var statement. ( #3811 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-08 13:43:50 +02:00
Zoltan Herczeg
2058ea1286
Implement eval support for functions with arguments lexical env. ( #3806 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-08 12:11:54 +02:00
Zoltan Herczeg
1230d4532c
Asterisk should be ignored by object initializers. ( #3872 )
...
Fixes #3869
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-08 10:27:42 +02:00
Zoltan Herczeg
ab2e821777
Fix three async function issues. ( #3863 )
...
- Invalid assert
- Add missing async prefix check when an identifier is enclosed in brackets
- Adding a new byte-code
Fixes #3855
Fixes #3856
Fixes #3857
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-08 10:25:34 +02:00
Zoltan Herczeg
10e78a4eef
Context break should honor private contexts. ( #3852 )
...
Fixes #3830
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-05 14:39:13 +02:00
Zoltan Herczeg
e6ebc2be78
Don't continue parsing expressions after ternary operators. ( #3847 )
...
Further benefits: new code requires less checks.
Fixes #3841
Fixes #3842
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-06-04 13:27:32 +02:00
Zoltan Herczeg
562dcc8630
Fix Promise thenable. ( #3799 )
...
A single promise can be resolved any number of times due to
thenable functions, but each resolver pair can only be called once.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-28 10:48:44 +02:00
Zoltan Herczeg
1105b43c22
Optimize Promise data structures. ( #3768 )
...
This patch reworks several structures:
- Fulfill and reject reactions are combined into one collection. The values in this collection
are compressed: a capability followed by an optional fulfill and reject functions.
- Fulfill and reject reactions are directly stored, no need to allocate an object for them.
- The job queue directly stores its items, this saves a pointer to the value, and the
callback is replaced by an uint8 type.
- Promise status and already resolved is stored in extra_info.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-25 18:00:43 +02:00
Zoltan Herczeg
e01cfda0b8
Check next token before reparsing identifiers in object assignments. ( #3756 )
...
Fixes #3735 .
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-18 13:16:16 +02:00
Zoltan Herczeg
c4d5c2c9e1
There is no block info after invalid if-function construct. ( #3755 )
...
Fixes #3713 .
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-18 13:15:16 +02:00
Zoltan Herczeg
2570f8e745
Move an assertion after post processing. ( #3754 )
...
Fixes #3752 .
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-18 13:14:17 +02:00
Zoltan Herczeg
09ac2ffa67
Update obsolote assert. ( #3752 )
...
Fixes #3713 .
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-18 13:13:43 +02:00
Zoltan Herczeg
bd1c4df9a6
Fix keyword parsing after use strict. ( #3740 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-15 22:32:04 +02:00
Zoltan Herczeg
4aa27371b6
Array or object pattern must be assignment expression. ( #3744 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-15 22:29:27 +02:00
Zoltan Herczeg
1f00d750b7
Implement parsing await. ( #3738 )
...
Several bugs fixed for parsing yield as well.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-15 22:26:05 +02:00
Zoltan Herczeg
4dc2cb3328
Implement proper creation of function arguments, let and const declarations. ( #3725 )
...
After the rework it is possible to detect use before init errors for function arguments.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-12 14:38:17 +02:00
Zoltan Herczeg
132a2008c9
Fix function argument handling issues caused by the parser. ( #3705 )
...
1) Nested function declarations should not overwrite arguments.
2) Functions should be created in the correct scope.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-05-04 14:55:46 +02:00
Zoltan Herczeg
4b780507e1
Implement throwing const re-assignment error. ( #3697 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-29 15:50:22 +02:00
Zoltan Herczeg
9e6c44be4f
Fix function declaration issues inside catch blocks. ( #3700 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-29 13:53:14 +02:00
Zoltan Herczeg
85401db547
Support function statements after 'if' or 'else'. ( #3699 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-29 13:50:01 +02:00
Zoltan Herczeg
f254b1a8b7
Fix invalid / unhandled this_literal cases. ( #3696 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-27 14:54:21 +02:00
Zoltan Herczeg
4e8dac8ce1
Implement exponentiation operation. ( #3692 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-27 11:43:35 +02:00
Zoltan Herczeg
daeee77d63
Fix invalid assignment code generation. ( #3695 )
...
This patch prevents assigning a value to a string literal after a this token.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-27 10:14:29 +02:00
Zoltan Herczeg
e2807c28fa
Implement separate context for arguments. ( #3686 )
...
Fixes #3396 .
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-24 16:55:12 +02:00
Zoltan Herczeg
dcf8ccfd03
Function declaration outside of blocks in direct eval must be ES5.1 compatible. ( #3690 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-24 10:45:14 +02:00
Zoltan Herczeg
3900152631
Fix delayed variable creation for function declarations. ( #3687 )
...
Fixes #3658 .
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-21 11:59:30 +02:00
Zoltan Herczeg
52f1476061
Fix assignment expression pre-scanning for arrow functions. ( #3688 )
...
Fixes #3656 .
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-21 11:25:36 +02:00
Zoltan Herczeg
1b01171a60
Update forcing of lexical environment creation for functions. ( #3683 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-20 09:30:17 +02:00
Zoltan Herczeg
4be9ffda84
Use symbolic constants for code size checks. ( #3682 )
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2020-04-17 13:05:07 +02:00