Skip to content

Commit 5ac777e

Browse files
szilagyiadamRobert Fancsik
authored and
Robert Fancsik
committed
Rework internal methods
- Created virtual function tables for internal methods and call the specialized internal function for the object instead of the generic one which operates based on a switch by the object type - Generalize ecma_property_descriptor_t to handle virtual and general properties - Separate the new virtual internal methods into the corresponding .c file Co-authored-by: Robert Fancsik [email protected] JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi [email protected]
1 parent 79fd540 commit 5ac777e

File tree

76 files changed

+7156
-6333
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+7156
-6333
lines changed

jerry-core/CMakeLists.txt

+10
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,10 @@ set(SOURCE_CORE_FILES
272272
ecma/operations/ecma-bigint-object.c
273273
ecma/operations/ecma-bigint.c
274274
ecma/operations/ecma-boolean-object.c
275+
ecma/operations/ecma-bound-function.c
276+
ecma/operations/ecma-class-object.c
275277
ecma/operations/ecma-comparison.c
278+
ecma/operations/ecma-constructor-function.c
276279
ecma/operations/ecma-container-object.c
277280
ecma/operations/ecma-conversion.c
278281
ecma/operations/ecma-dataview-object.c
@@ -283,9 +286,11 @@ set(SOURCE_CORE_FILES
283286
ecma/operations/ecma-iterator-object.c
284287
ecma/operations/ecma-jobqueue.c
285288
ecma/operations/ecma-lex-env.c
289+
ecma/operations/ecma-native-function.c
286290
ecma/operations/ecma-number-object.c
287291
ecma/operations/ecma-objects-general.c
288292
ecma/operations/ecma-objects.c
293+
ecma/operations/ecma-ordinary-object.c
289294
ecma/operations/ecma-promise-object.c
290295
ecma/operations/ecma-proxy-object.c
291296
ecma/operations/ecma-reference.c
@@ -451,7 +456,10 @@ if(ENABLE_AMALGAM)
451456
ecma/operations/ecma-bigint-object.h
452457
ecma/operations/ecma-bigint.h
453458
ecma/operations/ecma-boolean-object.h
459+
ecma/operations/ecma-bound-function.h
460+
ecma/operations/ecma-class-object.h
454461
ecma/operations/ecma-comparison.h
462+
ecma/operations/ecma-constructor-function.h
455463
ecma/operations/ecma-container-object.h
456464
ecma/operations/ecma-conversion.h
457465
ecma/operations/ecma-dataview-object.h
@@ -461,9 +469,11 @@ if(ENABLE_AMALGAM)
461469
ecma/operations/ecma-iterator-object.h
462470
ecma/operations/ecma-jobqueue.h
463471
ecma/operations/ecma-lex-env.h
472+
ecma/operations/ecma-native-function.h
464473
ecma/operations/ecma-number-object.h
465474
ecma/operations/ecma-objects-general.h
466475
ecma/operations/ecma-objects.h
476+
ecma/operations/ecma-ordinary-object.h
467477
ecma/operations/ecma-promise-object.h
468478
ecma/operations/ecma-proxy-object.h
469479
ecma/operations/ecma-reference.h

0 commit comments

Comments
 (0)